Skip to content

Commit

Permalink
Fix #402
Browse files Browse the repository at this point in the history
  • Loading branch information
blegouix authored Apr 15, 2024
1 parent d652df8 commit 8dba1d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/ddc/kernels/splines/spline_builder_2d.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ operator()(
ddc::KokkosAllocator<double, MemorySpace>());
auto spline1_deriv_min = spline1_deriv_min_alloc.span_view();
auto spline1_deriv_min_opt = std::optional(spline1_deriv_min.span_cview());
if constexpr (BcXmin1 == ddc::BoundCond::HERMITE) {
if constexpr (BcXmin2 == ddc::BoundCond::HERMITE) {
m_spline_builder_deriv1(
spline1_deriv_min,
*derivs_min2,
Expand All @@ -403,7 +403,7 @@ operator()(
ddc::KokkosAllocator<double, MemorySpace>());
auto spline1_deriv_max = spline1_deriv_max_alloc.span_view();
auto spline1_deriv_max_opt = std::optional(spline1_deriv_max.span_cview());
if constexpr (BcXmax1 == ddc::BoundCond::HERMITE) {
if constexpr (BcXmax2 == ddc::BoundCond::HERMITE) {
m_spline_builder_deriv1(
spline1_deriv_max,
*derivs_max2,
Expand Down

0 comments on commit 8dba1d0

Please sign in to comment.