Skip to content

Commit cf39fc8

Browse files
committed
Match type in nested FIRK
1 parent a0dd726 commit cf39fc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/BoundaryValueDiffEqFIRK/src/collocation.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ function FIRK_nlsolve!(res, K, p_nlsolve, f!, TU::FIRKTableau{true}, p_f!)
8686
tmp1 = similar(K, T, size(K, 1))
8787

8888
for r in 1:s
89-
@. tmp1 = yᵢ
89+
@. tmp1 = T.(yᵢ)
9090
__maybe_matmul!(tmp1, K, a[:, r], h, T(1))
9191

9292
f!(@view(res[:, r]), tmp1, p_f!, mesh_i + c[r] * h)

0 commit comments

Comments
 (0)