Skip to content

Commit 69b6f09

Browse files
authored
Merge pull request #962 from SciML/myb/typo
Fix length of `is_linear_equations`
2 parents 73be894 + 7bc11f8 commit 69b6f09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/systemstructure.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ end
211211
function find_linear_equations(sys)
212212
s = structure(sys)
213213
@unpack fullvars, graph = s
214-
is_linear_equations = falses(ndsts(graph))
214+
is_linear_equations = falses(nsrcs(graph))
215215
eqs = equations(sys)
216216
eadj = Vector{Int}[]
217217
cadj = Vector{Int}[]

0 commit comments

Comments
 (0)