Skip to content

Commit

Permalink
fixup! feat: add BatchedInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
AayushSabharwal committed Apr 5, 2024
1 parent d0ddf4f commit db5038a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/batched_interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function BatchedInterface(syssyms::Tuple...)
if !is_variable(sys, sym) && !is_parameter(sys, sym)
error("Only variables and parameters allowed in BatchedInterface.")
end
if !in(sym, symbol_order)
if !any(isequal(sym), symbol_order)
push!(symbol_order, sym)
push!(associated_systems, i)
push!(isstate, is_variable(sys, sym))
Expand Down

0 comments on commit db5038a

Please sign in to comment.