Skip to content

Commit

Permalink
fixes Float type instability in Problem
Browse files Browse the repository at this point in the history
  • Loading branch information
navidcy committed Sep 19, 2019
1 parent cd4fbe2 commit 9e25e98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/twodturb.jl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function Problem(;
dev = CPU()
)

gr = TwoDGrid(dev, nx, Lx, ny, Ly)
gr = TwoDGrid(dev, nx, Lx, ny, Ly; T=T)
pr = Params{T}(ν, nν, μ, nμ, calcF)
vs = calcF == nothingfunction ? Vars(dev, gr) : (stochastic ? StochasticForcedVars(dev, gr) : ForcedVars(dev, gr))
eq = Equation(pr, gr)
Expand Down

0 comments on commit 9e25e98

Please sign in to comment.