Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Names that mask Fortran intrinsic functions cause errors. #4

Open
mbdevpl opened this issue Feb 19, 2018 · 0 comments
Open

Names that mask Fortran intrinsic functions cause errors. #4

mbdevpl opened this issue Feb 19, 2018 · 0 comments

Comments

@mbdevpl
Copy link
Owner

mbdevpl commented Feb 19, 2018

When transpiling between Fortran and Python, declaring for example:

real, parameter :: tiny=1.e-32

and then referencing this name like in:

if (x < tiny .and. x > 0.) then

will cause compiler errors e.g.:

   if (x < tiny() .and. x > 0.0) then
        1
Error: Expected a right parenthesis in expression at (1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant