mirror of
https://github.com/AxioDL/amuse.git
synced 2025-05-30 03:01:28 +00:00
Fix casting error
This commit is contained in:
parent
5112228abd
commit
6c7094f6fb
@ -378,7 +378,7 @@ constexpr T ClampFull(float in) noexcept {
|
|||||||
|
|
||||||
if (in < MIN)
|
if (in < MIN)
|
||||||
return MIN;
|
return MIN;
|
||||||
else if (in > MAX)
|
else if (in > static_cast<float>(MAX))
|
||||||
return MAX;
|
return MAX;
|
||||||
else
|
else
|
||||||
return in;
|
return in;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user