Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Example_CPLambdaPitch.py #35

Closed
mufannao opened this issue Jun 3, 2022 · 2 comments
Closed

Example_CPLambdaPitch.py #35

mufannao opened this issue Jun 3, 2022 · 2 comments

Comments

@mufannao
Copy link

mufannao commented Jun 3, 2022

when i run the code of Example_CPLambdaPitch.py, the error occur:
361 if not flatInputs :
362 WS_flat = []
363 Pitch_flat = []

NameError: name 'flatInputs' is not defined
It seems to be a problem with this "case_gen.CPCT_LambdaPitch" function.
I have been troubled for a long time, looking forward to your reply.

@mufannao
Copy link
Author

mufannao commented Jun 3, 2022

Sorry to all. I solved this problem. After I changed "flatInput" in case_gen.py to "FlatInput", the problem was solved.

ebranlard added a commit that referenced this issue Jun 8, 2022
@ebranlard
Copy link
Collaborator

ebranlard commented Jun 8, 2022

Thanks for noting this, it should be fixed now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants