We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e3f6e3 commit 4935f3bCopy full SHA for 4935f3b
src/systems/systemstructure.jl
@@ -256,7 +256,8 @@ end
256
257
function is_time_dependent_parameter(p, iv)
258
return iv !== nothing && isparameter(p) && iscall(p) &&
259
- (args = arguments(p); length(args)) == 1 && isequal(only(args), iv)
+ (operation(p) === getindex && is_time_dependent_parameter(arguments(p)[1], iv) ||
260
+ (args = arguments(p); length(args)) == 1 && isequal(only(args), iv))
261
end
262
263
function TearingState(sys; quick_cancel = false, check = true)
0 commit comments