Skip to content

Commit

Permalink
fix double->float conversion in test
Browse files Browse the repository at this point in the history
  • Loading branch information
martinus committed Jul 10, 2022
1 parent 741bb32 commit cb06abd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/max.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ TEST_CASE("max_load_factor") {
// 0.9 max_load should fit more than map_60
REQUIRE(map_90.size() > map_60.size());

map_60.max_load_factor(0.9);
map_60.max_load_factor(0.9F);
REQUIRE(map_60.max_load_factor() == map_90.max_load_factor());
}

Expand Down

0 comments on commit cb06abd

Please sign in to comment.