You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Currently if a constant is not recognised a NotImplementedError is raised here when we try to print the Constant. This seems unnecessary, instead we could simply print the underlying value stored in the Constant
The text was updated successfully, but these errors were encountered:
Print unknown constants using their values. This fixes#1047 but may be
reverted in #1811 to prefer declaring constants with names. However this
PR also adds support for `NaN` in C and an associated test. It also
removes the duplicate `_print_Constant` function.
---------
Co-authored-by: EmilyBourne <louise.bourne@gmail.com>
Print unknown constants using their values. This fixespyccel#1047 but may be
reverted in pyccel#1811 to prefer declaring constants with names. However this
PR also adds support for `NaN` in C and an associated test. It also
removes the duplicate `_print_Constant` function.
---------
Co-authored-by: EmilyBourne <louise.bourne@gmail.com>
Describe the bug
Currently if a constant is not recognised a
NotImplementedError
is raised here when we try to print theConstant
. This seems unnecessary, instead we could simply print the underlying value stored in theConstant
The text was updated successfully, but these errors were encountered: