[ENHANCEMENT] up argument ignored in response function #551
Labels
enhancement
Indicates improvement of existing features
priority 0
high, deal with as soon as possible
Milestone
Describe the proposed enhancement
The
up
value passed to a response function is ignored, and overwritten by the StressModelup
value.This works:
This does not:
So my question is, do we want the second option to work as well?
I think it would make sense if both options work, so I'd expect StressModel to defer to rfunc's default.
We can implement this by setting
up=None
inStressModelBase
, and then deferring toRfuncBase
defaultup
value when that is the case. Ifup=True/False
is passed to the StressModel, that boolean value will be used. The downside is that the StressModel will showup=None
, which is slightly less informative for users.Thoughts?
The text was updated successfully, but these errors were encountered: