Commit dd016f18 authored by Volker Krause's avatar Volker Krause
Browse files

Account for floating point precision loss

parent 7ba315ae
......@@ -173,7 +173,7 @@ void RatioSetAggregationModel::recompute()
m_data[idx] += m_data[idx - 1];
}
Q_ASSERT(m_data[row * colCount + colCount - 1] <= 1.0);
Q_ASSERT(m_data[row * colCount + colCount - 1] <= 1.0001);
}
delete[] rowData;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment