mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-30 05:09:01 +00:00
LibGfx: Fix -Wdouble-promotion for float matrices
This commit is contained in:
parent
82bd7c33d1
commit
72f0575fb0
Notes:
sideshowbarker
2024-07-17 01:04:03 +09:00
Author: https://github.com/nico
Commit: 72f0575fb0
Pull-request: https://github.com/SerenityOS/serenity/pull/18596
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/gmta
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