Skip to content

Commit 9e213bb

Browse files
Merge branch 'main' of github.com:BattMoTeam/BattMo.jl
2 parents 252e93a + 3432c69 commit 9e213bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/setup/matlab_model_setup.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ function setup_initial_state(inputparams::MatlabInputParams,
655655
function initialize_current_collector!(initState, name::Symbol)
656656

657657
init = Dict()
658-
init[:Phi] = state0[stringNames[name]]["CurrentCollector"]["phi"][1]
658+
init[:Phi] = state0[stringNames[name]]["Coating"]["phi"][1]
659659
initState[name] = init
660660

661661
end

0 commit comments

Comments
 (0)