Skip to content

Commit 9c55dd9

Browse files
fix: re-add invalidate_cache! for use with new metadata
1 parent a481751 commit 9c55dd9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/systems/abstractsystem.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -899,6 +899,13 @@ end
899899

900900
has_equations(::AbstractSystem) = true
901901

902+
"""
903+
$(TYPEDSIGNATURES)
904+
905+
Invalidate cached jacobians, etc.
906+
"""
907+
invalidate_cache!(sys::AbstractSystem) = sys
908+
902909
function Setfield.get(obj::AbstractSystem, ::Setfield.PropertyLens{field}) where {field}
903910
getfield(obj, field)
904911
end

0 commit comments

Comments
 (0)