mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-11-04 19:25:27 -07:00
when expressions with Float literals are printed, we should use the same format that is used by the linearizer
This commit is contained in:
1 parent
b34ee6f377
commit
41a3054e9b
1 file changed
+1
-1
@@ -1189,7 +1189,7 @@ pgf_print_literal(PgfLiteral lit,
|
||||
}
|
||||
case PGF_LITERAL_FLT: {
|
||||
PgfLiteralFlt* lit = ei.data;
|
||||
gu_double_to_string(lit->val, out, err);
|
||||
gu_printf(out, err, "%lf", lit->val);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
||||
Reference in new issue
Block a user