From 196cfdb569833eee01d8d74e5373671c0e6c0b4d Mon Sep 17 00:00:00 2001 From: Torsten Dreyer Date: Tue, 13 Dec 2011 20:48:50 +0100 Subject: [PATCH] Fix windows build --- src/Radio/antenna.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Radio/antenna.cxx b/src/Radio/antenna.cxx index bb5770fb5..8a55707d5 100644 --- a/src/Radio/antenna.cxx +++ b/src/Radio/antenna.cxx @@ -94,7 +94,7 @@ void FGRadioAntenna::load_NEC_antenna_pattern(string type) { //cerr << "head: " << heading << " elev: " << elevation << " gain: " << gain << endl; AntennaGain *datapoint = new AntennaGain; datapoint->azimuth = heading; - datapoint->elevation = 90.0 - fabs(elevation); + datapoint->elevation = 90.0 - abs(elevation); datapoint->gain = gain; _pattern.push_back(datapoint); }