We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 215641d + be5a3c6 commit 71cd19cCopy full SHA for 71cd19c
1 file changed
linx/reactions.py
@@ -157,10 +157,10 @@ def __init__(
157
158
self.frwrd_rate_param_func = frwrd_rate_param_func
159
160
- else:
+ else:
161
162
- return TypeError('Must include spline data points or analytic \
163
- function for rates.')
+ raise TypeError('Must include spline data points or analytic '
+ 'function for rates.')
164
165
@eqx.filter_jit
166
def frwrd_rate_param(self, T, p):
0 commit comments