Skip to content

Commit

Permalink
Update kratos/utilities/search_utilities.h
Browse files Browse the repository at this point in the history
Co-authored-by: Carlos Roig <[email protected]>
  • Loading branch information
loumalouomega and roigcarlo authored Dec 20, 2023
1 parent 3e9a095 commit 71bfa0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kratos/utilities/search_utilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ class SearchUtilities
}

// Initialize and resize vectors
if (rAllPointsCoordinates.size() != static_cast<unsigned int>(TotalNumberOfPoints * 3)) {
if (rAllPointsCoordinates.size() != static_cast<std::size_t>(TotalNumberOfPoints * 3)) {
rAllPointsCoordinates.resize(TotalNumberOfPoints * 3);
}
if (rAllPointsIds.size() != static_cast<unsigned int>(TotalNumberOfPoints)) {
Expand Down

0 comments on commit 71bfa0c

Please sign in to comment.