From 570b19b2ff5b5400b2bcc66723a6cc0a05c94caa Mon Sep 17 00:00:00 2001 From: mfranz Date: Sat, 31 Mar 2007 15:27:21 +0000 Subject: [PATCH] another case of round() --- src/Instrumentation/altimeter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Instrumentation/altimeter.cxx b/src/Instrumentation/altimeter.cxx index f5d6229d5..10ae3da29 100644 --- a/src/Instrumentation/altimeter.cxx +++ b/src/Instrumentation/altimeter.cxx @@ -67,7 +67,7 @@ Altimeter::update (double dt) _mode_c_node->setDoubleValue(100 * SGMiscd::round(raw_PA/100)); _kollsman = fgGetLowPass(_kollsman, _altimeter.kollsman_ft(setting), trat); if (_quantum) - press_alt = _quantum*round(raw_PA/_quantum); + press_alt = _quantum * SGMiscd::round(raw_PA/_quantum); else press_alt = raw_PA; _press_alt_node->setDoubleValue(press_alt);