when expressions with Float literals are printed, we should use the same format that is used by the linearizer

This commit is contained in:
krasimir
2016-05-25 09:34:40 +00:00
parent b34ee6f377
commit 41a3054e9b

View File

@@ -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: