Merge pull request #9 from anjohnson/fix-nan

Use epicsNAN instead of non-portable nan() function
This commit is contained in:
Marty Kraimer
2015-08-18 15:11:35 -04:00
2 changed files with 2 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ PvaClientMultiMonitorDouble::PvaClientMultiMonitorDouble(
: pvaClientMultiChannel(pvaClientMultiChannel),
pvaClientChannelArray(pvaClientChannelArray),
nchannel(pvaClientChannelArray.size()),
doubleValue(shared_vector<double>(nchannel,nan(""))),
doubleValue(shared_vector<double>(nchannel,epicsNAN)),
pvaClientMonitor(std::vector<PvaClientMonitorPtr>(nchannel,PvaClientMonitorPtr())),
isMonitorConnected(false),
isDestroyed(false)