Skip to content

Commit f45025d

Browse files
committed
proper type for viscotity
1 parent 3e4939a commit f45025d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/twodnavierstokes.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function Problem(dev::Device=CPU();
8585

8686
grid = TwoDGrid(dev, nx, Lx, ny, Ly; aliased_fraction=aliased_fraction, T)
8787

88-
params = Params(Τ(ν), nν, Τ(μ), nμ, calcF)
88+
params = Params(T(ν), nν, T(μ), nμ, calcF)
8989

9090
vars = calcF == nothingfunction ? DecayingVars(dev, grid) : (stochastic ? StochasticForcedVars(dev, grid) : ForcedVars(dev, grid))
9191

0 commit comments

Comments
 (0)