1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:27:46 +00:00

LibGfx: Fix -Wdouble-promotion for float matrices

This commit is contained in:
Nico Weber 2023-05-01 10:20:10 -04:00 committed by Sam Atkins
parent 82bd7c33d1
commit 72f0575fb0

View file

@ -225,7 +225,7 @@ public:
constexpr bool is_invertible() const
{
return determinant() != 0.0;
return determinant() != static_cast<T>(0.0);
}
private: