- changed status to duplicate
Expression() does not accept constants starting with a decimal point
Issue #653
duplicate
In version 1.6.0 one cannot use a real constant that begins with a decimal point in an in-line Expression. For example,
f = Expression('.2')
or
g = Expression('x[0] + .2')
fail. They work fine in 1.5.0.
The work-around is easy:
Expression('0.2')
works fine. But it seems like the leading 0 should not be required and a problem that it breaks formerly working code.
Comments (2)
-
-
- removed milestone
Removing milestone: 1.7 (automated comment)
- Log in to comment
Duplicate of
#636.