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
Fortran has the concept of a PRESENT(X) to test if argument X was passed to a function. Functionally it's the Optional[type] or the None of Python, which cannot be processed by GT4Py.
Fortran has the concept of a
PRESENT(X)
to test if argumentX
was passed to a function. Functionally it's theOptional[type]
or theNone
of Python, which cannot be processed by GT4Py.The usage would be:
Code generation in C could be a duplicate of the flag into a
do_X
andvalue_X
with resolution at compile time?The workaround for this right now is to use an
__external__
to be able to flip some code BUT it only works on compile-time defined flags.Parent: #36
Optional[float]
is a supported feature, with potential restrictions documented and feedback cleanlyThe text was updated successfully, but these errors were encountered: