Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilyBourne committed Feb 21, 2024
1 parent 7832d1d commit c81589b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/geometryXVx/rhs/krook_source_adaptive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ KrookSourceAdaptive::KrookSourceAdaptive(
, m_amplitude(amplitude)
, m_density(density)
, m_temperature(temperature)
, m_ftarget(gridvx)
, m_mask(gridx)
, m_ftarget(gridvx)
{
// mask that defines the region where the operator is active
DFieldX mask_host(gridx);
Expand Down
2 changes: 1 addition & 1 deletion src/geometryXVx/rhs/krook_source_constant.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ KrookSourceConstant::KrookSourceConstant(
, m_amplitude(amplitude)
, m_density(density)
, m_temperature(temperature)
, m_ftarget(gridvx)
, m_mask(gridx)
, m_ftarget(gridvx)
{
// mask that defines the region where the operator is active
DFieldX mask_host(gridx);
Expand Down
3 changes: 1 addition & 2 deletions src/quadrature/neumann_spline_quadrature.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ ddc::Chunk<double, ddc::DiscreteDomain<IDim>> neumann_spline_quadrature_coeffici

using bsplines_type = typename SplineBuilder::bsplines_type;

int const length = ddc::discrete_space<bsplines_type>().nbasis() - nbe_xmin - nbe_xmax;
assert(domain.size() == length);
assert(domain.size() == ddc::discrete_space<bsplines_type>().nbasis() - nbe_xmin - nbe_xmax);

// Vector of integrals of B-splines
ddc::Chunk<double, ddc::DiscreteDomain<bsplines_type>> integral_bsplines(
Expand Down
4 changes: 3 additions & 1 deletion tests/geometryXVx/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ target_link_libraries(unit_tests_${GEOMETRY_VARIANT}
)

gtest_discover_tests(unit_tests_${GEOMETRY_VARIANT}
TEST_SUFFIX "_${GEOMETRY_VARIANT}")
TEST_SUFFIX "_${GEOMETRY_VARIANT}"
PROPERTIES TIMEOUT 10
)

endforeach()

Expand Down

0 comments on commit c81589b

Please sign in to comment.