Closed dweindl closed 1 month ago
The warning/error in #2444 is caused by petab.parameters.scale(). Whether this warning should be suppressed there or not is to discussed in the PEtab context. For amici, I'd say we're fine with just accepting np.log(0) == -inf without a warning.
petab.parameters.scale()
np.log(0) == -inf
Partial fix for #2444.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 77.62%. Comparing base (a63b016) to head (7a90154).
a63b016
7a90154
The warning/error in #2444 is caused by
petab.parameters.scale()
. Whether this warning should be suppressed there or not is to discussed in the PEtab context. For amici, I'd say we're fine with just acceptingnp.log(0) == -inf
without a warning.Partial fix for #2444.