Skip to content

Commit 00efd7d

Browse files
authored
ParameterManagerTest.cc: initialize float with float value (#10506)
1 parent 8e11aa3 commit 00efd7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FactSystem/ParameterManagerTest.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ void ParameterManagerTest::_FTPChangeParam()
213213
QVERIFY(fact);
214214
float value = fact->rawValue().toFloat();
215215
QCOMPARE(value, 0.0);
216-
float testvalue = 0.87;
216+
float testvalue = 0.87f;
217217
QVariant sendv = testvalue;
218218
fact->setRawValue(sendv); // This should trigger a parameter upload to the vehicle
219219
/* That should set the progress to 0.5 and then back to 0 */

0 commit comments

Comments
 (0)