Skip to content

Commit

Permalink
Remove unnecessary assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacarniato committed Nov 27, 2024
1 parent b70c82f commit a9d93c0
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions libs/MeshKernelApi/tests/src/CurvilinearGridUndoTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1649,14 +1649,11 @@ TEST(CurvilinearGridUndoTests, MultiStepUndoTest)
const int lowerBoundIndex = 10;
const int upperBoundIndex = 20;

constexpr double lowerBoundValue = static_cast<double>(lowerBoundIndex);
constexpr double upperBoundValue = static_cast<double>(upperBoundIndex);

// delete interior block
meshkernelapi::BoundingBox boundingBox(lowerBoundValue,
lowerBoundValue,
upperBoundValue,
upperBoundValue);
meshkernelapi::BoundingBox boundingBox(lowerBoundIndex,
lowerBoundIndex,
upperBoundIndex,
upperBoundIndex);
errorCode = meshkernelapi::mkernel_curvilinear_delete_interior(meshKernelId, boundingBox);
ASSERT_EQ(meshkernel::ExitCode::Success, errorCode);

Expand Down

0 comments on commit a9d93c0

Please sign in to comment.