Attribute error thrown for real external param?
I am currently trying to work with a user-defined model. I have defined an external parameter (set to zero for testing purposes) in the following way
cSymm = Parameter(name = 'cSymm',
I am able to import my model and it passes all checks. However, the output of my generate process command gives the following error
"AttributeError : 'str' object has no attribute 'imag'"
which is stemming from the following line in write_param_card
"if param.value != 'auto' and param.value.imag != 0:" (line 249)
But all of the user-defined parameters I've added have been explicitly declared to be real, so I'm not sure why this error is being thrown?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- Last query:
- Last reply: