-
Notifications
You must be signed in to change notification settings - Fork 111
Add phi check for section properties validation #574
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
base: master
Are you sure you want to change the base?
Add phi check for section properties validation #574
Conversation
To avoid a RuntimeError that a argument of type "float | None" cannot be assigned to parameter "phi" of type "float" in function fea.principal_coordinate" (line 318)
|
Happy to make this change, however curious as to how you got this error as |
|
I encountered this when retrieving stresses via the |
|
Thanks @jchkoch, I'll have a look into this tomorrow, there shouldn't be a |
|
yes, maybe there is something else going on here. My fix seemed to remove the error message I was getting from my script which was my immediate concern to get my stress results for my project I am working on. It might be relevant to add that I needed also to add |
|
Hi @jchkoch when running your above script in a fresh environment I cannot reproduce the |
To avoid a RuntimeError that a argument of type "float | None" cannot be assigned to parameter "phi" of type "float" in function fea.principal_coordinate" (line 318 in section.py)