mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 11:42:49 -06: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:
@@ -1189,7 +1189,7 @@ pgf_print_literal(PgfLiteral lit,
|
|||||||
}
|
}
|
||||||
case PGF_LITERAL_FLT: {
|
case PGF_LITERAL_FLT: {
|
||||||
PgfLiteralFlt* lit = ei.data;
|
PgfLiteralFlt* lit = ei.data;
|
||||||
gu_double_to_string(lit->val, out, err);
|
gu_printf(out, err, "%lf", lit->val);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user