Skip to content

Commit

Permalink
fix: do not output numbers in scientific notation
Browse files Browse the repository at this point in the history
  • Loading branch information
ertsiger committed Jan 19, 2023
1 parent 3e27ea9 commit a74d632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser/Expression.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ class ValueExpression : public Expression {
}

void PDDLPrint( std::ostream & s, unsigned indent, const TokenStruct< std::string > & ts, const Domain & d ) const override {
s << value;
s << std::fixed << value;
}

double evaluate() { return value; }
Expand Down

0 comments on commit a74d632

Please sign in to comment.