Skip to content

Commit

Permalink
Merge pull request #24 from NeuroML/fix/sbml-derivative
Browse files Browse the repository at this point in the history
fix(sbml-import): make TimeDerivative rhs have a `per_time` dimension
  • Loading branch information
pgleeson authored Jun 14, 2024
2 parents 45741ce + b79aecf commit 44cfa92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/neuroml/importer/sbml/SBMLImporter.java
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ else if (r.isAssignment()) {
E.info(">>>> StateVariable "+sv);
dyn.stateVariables.add(sv);

TimeDerivative td = new TimeDerivative(sv.getName(), "1");
TimeDerivative td = new TimeDerivative(sv.getName(), timeScale.getName() + "* 1");
dyn.timeDerivatives.add(td);
}

Expand Down

0 comments on commit 44cfa92

Please sign in to comment.