mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-07 10:02:24 +02:00
Fix numerical precision warning
This commit is contained in:
parent
afa44dccf6
commit
eeb13fe17f
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ private:
|
|||
static QVariantMap zipNonZeroValues(const QStringList& keys, const QVector<float>& values) {
|
||||
QVariantMap out;
|
||||
for (int i=1; i < values.size(); i++) {
|
||||
if (fabs(values[i]) > 1.0e-6) {
|
||||
if (fabs(values[i]) > 1.0e-6f) {
|
||||
out[keys.value(i)] = values[i];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue