Skip to content

Commit e5adb17

Browse files
committed
Merge branch 'myb/linearize' of github.com:SciML/ModelingToolkit.jl into myb/linearize
2 parents f6999e9 + 35199e8 commit e5adb17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/inputoutput.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ function inputs_to_parameters!(state::TransformationState, check_bound = true)
270270
push!(new_fullvars, v)
271271
end
272272
end
273-
ninputs == 0 && return state
273+
ninputs == 0 && return state, 1:0
274274

275275
nvars = ndsts(graph) - ninputs
276276
new_graph = BipartiteGraph(nsrcs(graph), nvars, Val(false))

0 commit comments

Comments
 (0)