Skip to content

Commit 0912b27

Browse files
committed
fix initialization
1 parent cd31781 commit 0912b27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/initialization.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ function initialization_problem(cf::T; t=NaN, verbose=true) where {T<:ComponentM
156156
# this fills the second half of the du buffer with the fixed and current outputs
157157
dunl_out .= RecursiveArrayTools.ArrayPartition(outbufs...)
158158
# execute fg to fill dunl and outputs
159-
fg(outbufs..., dunl, ubuf, inbufs..., pbuf, t)
159+
fg(outbufs..., dunl_fg, ubuf, inbufs..., pbuf, t)
160160

161161
# calculate the residual for the second half ov the dunl buf, the outputs
162162
dunl_out .= dunl_out .- RecursiveArrayTools.ArrayPartition(outbufs...)

0 commit comments

Comments
 (0)