Skip to content

Commit

Permalink
Bugfix, deal with nauto in initial states
Browse files Browse the repository at this point in the history
  • Loading branch information
Jérôme FERET committed Aug 9, 2022
1 parent b4fd715 commit d29ca5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/odes/odes.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1680,7 +1680,7 @@ let convert_obs parameters compil network =
| [] -> ()
| [a] ->
let species, n = species_of_species_id network a in
let expr = to_var compil (from_nocc compil expr n) n in
let expr = to_var compil (from_nembed compil expr n) n in
let comment =
Format.asprintf "%a"
(fun log ->
Expand All @@ -1706,7 +1706,7 @@ let convert_obs parameters compil network =
in
let expr =
to_var compil
(from_nocc compil
(from_nembed compil
(Locality.dummy_annot (Alg_expr.ALG_VAR id'))
n) n in
increment ~propagate_constants
Expand Down

0 comments on commit d29ca5d

Please sign in to comment.