diff options
-rw-r--r-- | c++/examples/cavity_2d.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c++/examples/cavity_2d.cpp b/c++/examples/cavity_2d.cpp index 0a8e9b1..00c1741 100644 --- a/c++/examples/cavity_2d.cpp +++ b/c++/examples/cavity_2d.cpp @@ -95,8 +95,8 @@ void compute_const_rho_u ( dfs(i).set(dfs(i).get() * (rho/real_rho)); } - vel[0] *= real_rho / (rho*rho) - vel[1] *= real_rho / (rho*rho) + vel[0] *= real_rho / (rho*rho); + vel[1] *= real_rho / (rho*rho); } /** |