change AxisType to float for pixelhistogram tests

This commit is contained in:
mazzol_a committed 2026-06-15 14:27:26 +02:00
1 parent 559c822a02
commit 0a4c4f5ec1
1 file changed
+1 -1
+1 -1
View File
@@ -230,7 +230,7 @@ TEST_CASE("Random fills match a reference implementation") {
}
TEST_CASE("fill_async with mismatched shape throws") {
PixelHistogram hist(8, 8, 16, 0.0, 1.0, 2);
PixelHistogram hist(8, 8, 16, 0.0f, 1.0f, 2);
NDArray<float, 2> bad({4, 4}, 0.0f);
CHECK_THROWS_AS(hist.fill_async(std::move(bad)), std::invalid_argument);
}