Skip to content

Commit fef6779

Browse files
committed
Avoid battery type piracy
1 parent 7c022eb commit fef6779

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/solver/linsolve.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ function fix_control!(lsys, context::Jutul.ParallelCSRContext)
155155
end
156156
end
157157

158-
function Jutul.post_update_linearized_system!(lsys, executor, storage, model::Jutul.MultiModel)
158+
function Jutul.post_update_linearized_system!(lsys, executor, storage, model::Jutul.MultiModel{:Battery})
159159
context = first(model.models).context# NB hack to get context of mulitmodel
160160
if(true)
161161
# fix linear system

0 commit comments

Comments
 (0)