Skip to content

Commit

Permalink
Remove usage of bracket operator
Browse files Browse the repository at this point in the history
  • Loading branch information
tpadioleau committed Apr 29, 2022
1 parent ed7b43e commit 1aea0f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/ddc/uniform_discretization.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ class UniformDiscretization
assert(n > 1);
rcoord_type discretization_step {(b - a) / (n - 1)};
UniformDiscretization
disc(a - n_ghosts_before[0] * discretization_step, discretization_step);
disc(a - n_ghosts_before.value() * discretization_step, discretization_step);
ddom_type ghosted_domain = ddom_type(disc.front(), n + n_ghosts_before + n_ghosts_after);
ddom_type pre_ghost = ddom_type(ghosted_domain.front(), n_ghosts_before);
ddom_type main_domain = ddom_type(ghosted_domain.front() + n_ghosts_before, n);
Expand Down

0 comments on commit 1aea0f3

Please sign in to comment.