mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 02:03:36 +02:00
use glm::isnan() instead of isnan() from math.h
This commit is contained in:
parent
01950fba96
commit
eeb100b62f
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ float PIDController::update(float measuredValue, float dt, bool resetAccumulator
|
|||
updateHistory(measuredValue, dt, error, accumulatedError, changeInError, p, i, d, computedValue);
|
||||
}
|
||||
Q_ASSERT(!glm::isnan(computedValue));
|
||||
|
||||
|
||||
// update state for next time
|
||||
_lastError = error;
|
||||
_lastAccumulation = accumulatedError;
|
||||
|
|
Loading…
Reference in a new issue