Skip to content

Commit c9297ac

Browse files
committed
imrpvoe extension compeleness handling
1 parent d103525 commit c9297ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/CatalystStructuralIdentifiabilityExtension/structural_identifiability_extension.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ function make_osys(rs::ReactionSystem; remove_conserved=true)
158158
# Creates the ODESystem corresponding to the ReactionSystem (expanding functions and flattening it).
159159
# Creates a list of the systems all symbols (unknowns and parameters).
160160
ModelingToolkit.iscomplete(rs) || error("Identifiability should only be computed for complete systems. A ReactionSystem can be marked as complete using the `complete` function.")
161-
rs = Catalyst.expand_registered_functions(flatten(rs))
161+
rs = complete(Catalyst.expand_registered_functions(flatten(rs)))
162162
osys = complete(convert(ODESystem, rs; remove_conserved))
163163
vars = [unknowns(rs); parameters(rs)]
164164

0 commit comments

Comments
 (0)