Skip to content

Commit

Permalink
Fixed GaussianAverage Instantiation
Browse files Browse the repository at this point in the history
Bug found by Dorian Rojas while compiling with newer compiler.
  • Loading branch information
ivanseidel committed Apr 11, 2015
1 parent 659d017 commit 854a408
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions GaussianAverage.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,11 @@ class GaussianAverage: public Gaussian
Creates a new Gaussian Moving Average that
keeps track of _n last Gaussians
*/
GaussianAverage(int _n = 4){
GaussianAverage(int _n = 4): Gaussian(){
gaussians = new LinkedList<Gaussian>();
n = _n;

isCached = false;

Gaussian::Gaussian();
}

/*
Expand Down
6 changes: 3 additions & 3 deletions library.properties
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name=Gaussian
version=1.0.4
version=1.0.5
author=Ivan Seidel <[email protected]>
maintainer=Ivan Seidel <[email protected]>
sentence=Gaussian math and Moving Average made easy
paragraph=Library that makes Gaussian work easy to use with C++ and Arduino. REQUIRES <LinkedList> Class if using GaussianAverage.
sentence=Gaussian math, Kalman Filters and Moving Averages made easy
paragraph=Simple to use and Object Oriented Class to deal with Gaussian and Moving Averages math. REQUIRES LinkedList Class if using GaussianAverage.
category=Data Processing
url=https://github.com/ivanseidel/Gaussian
architectures=*

0 comments on commit 854a408

Please sign in to comment.