Skip to content

Commit

Permalink
meant to address #79 - may have unintended consequences.
Browse files Browse the repository at this point in the history
  • Loading branch information
samhatchett committed Sep 3, 2015
1 parent 494b3b9 commit 27efa2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Point.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Point::Point() : time(0),value(0),quality(PointQuality::opc_bad),isValid(false),

}

Point::Point(time_t t, double v, PointQuality q, double c) : time(t),value(v),quality(q),isValid((q == PointQuality::opc_bad)||(isnan(v)) ? false : true),confidence(c) {
Point::Point(time_t t, double v, PointQuality q, double c) : time(t),value(v),quality(q),isValid((isnan(v)) ? false : true),confidence(c) {
if (isnan(v)) {
cout << "nan" << endl;
}
Expand Down

0 comments on commit 27efa2c

Please sign in to comment.