@YingboMa some tests fail with JSCompiler but work for MTK, I have indicated those with
# Yingbo: <comment>
We need this for OXQT, so it's rather high prio to get working. There are two classes of failures
setting state priority sometimes lead to ArgumentError: unable to check bounds for indices of type Nothing in sp[indexin(sp_sts, vars)] = nonzeros(sys.info.state_priority)
BoundsError: attempt to access 145-element Vector{Vector{Int64}} at index [146] in đť‘‘neighbors
originally implemented in https://github.com/SciML/ModelingToolkitStandardLibrary.jl/pull/220
@YingboMa some tests fail with JSCompiler but work for MTK, I have indicated those with
We need this for OXQT, so it's rather high prio to get working. There are two classes of failures
ArgumentError: unable to check bounds for indices of type Nothing
insp[indexin(sp_sts, vars)] = nonzeros(sys.info.state_priority)
BoundsError: attempt to access 145-element Vector{Vector{Int64}} at index [146]
inđť‘‘neighbors