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
I tried out the latest f90wrap (0.2.3) for wrapping a legacy fortran project, and noticed that in the f90wrap-generated .py file, there are some unnecessary newline characters introduced in the setter methods when the variable names are over a certain size.
Luckily for me, this happened with only 2 variables, so I could manually change it to continue working. However, for derived types with many long variable names, I can see this being an issue.
Something in the source code generator needs to check whether there is a LHS for the expression in the setter method (is there ever a return value for these?) and not introduce the newline character \
The text was updated successfully, but these errors were encountered:
I tried out the latest f90wrap (0.2.3) for wrapping a legacy fortran project, and noticed that in the f90wrap-generated .py file, there are some unnecessary newline characters introduced in the setter methods when the variable names are over a certain size.
Luckily for me, this happened with only 2 variables, so I could manually change it to continue working. However, for derived types with many long variable names, I can see this being an issue.
Something in the source code generator needs to check whether there is a LHS for the expression in the setter method (is there ever a return value for these?) and not introduce the newline character
\
The text was updated successfully, but these errors were encountered: