mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:07:45 +00:00
LibGfx: Fix -Wdouble-promotion for float matrices
This commit is contained in:
parent
82bd7c33d1
commit
72f0575fb0
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ public:
|
||||||
|
|
||||||
constexpr bool is_invertible() const
|
constexpr bool is_invertible() const
|
||||||
{
|
{
|
||||||
return determinant() != 0.0;
|
return determinant() != static_cast<T>(0.0);
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue