Skip to content

Commit 0c813d6

Browse files
authored
Merge pull request #122 from FourierFlows/IncreaseCoverage
Increase coverage of diffusion.jl
2 parents b22d444 + 3db7682 commit 0c813d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_diagnostics.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function test_basicdiagnostics(dev::Device=CPU(); nx=6, Lx=2π, kappa=1e-2)
4040
prob = Problem(nx=nx, Lx=Lx, kappa=kappa, dt=dt, stepper="ETDRK4", dev=dev)
4141
g = prob.grid
4242

43-
c0 = @. sin(k1*g.x)
43+
c0(x) = sin(k1*x)
4444
set_c!(prob, c0)
4545

4646
getsol(prob) = prob.sol

0 commit comments

Comments
 (0)