Skip to content

Commit

Permalink
Update base_ode_model.py
Browse files Browse the repository at this point in the history
  • Loading branch information
j-c-gibson authored Dec 2, 2024
1 parent b8a57f5 commit 8392bdc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pygom/model/base_ode_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ def parameters(self):
(:mod:`sympy.core.symbol`, numeric)
"""
if not hasattr(self, "_parameters"):
return None
return self._parameters

@parameters.setter
Expand Down Expand Up @@ -1500,4 +1502,4 @@ def _extractUpperTriangle(self, A, nrow=None, ncol=None):
for j in range(i, ncol):
B[i,j] = A[i, j]

return B
return B

0 comments on commit 8392bdc

Please sign in to comment.