From 55858d9eb0dd136dd5cbb368cd3db18f4b93fe1b Mon Sep 17 00:00:00 2001 From: david hill Date: Mon, 11 Jul 2016 17:15:16 -0500 Subject: [PATCH] MCOL-5 - chnage for ubunut build --- utils/rowgroup/rowgroup.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/rowgroup/rowgroup.h b/utils/rowgroup/rowgroup.h index a0055d0c5..fe5952db4 100644 --- a/utils/rowgroup/rowgroup.h +++ b/utils/rowgroup/rowgroup.h @@ -756,7 +756,7 @@ inline void Row::setFloatField(float val, uint32_t colIndex) //N.B. There is a bug in boost::any or in gcc where, if you store a nan, you will get back a nan, // but not necessarily the same bits that you put in. This only seems to be for float (double seems // to work). - if (isnan(val)) + if (std::isnan(val)) setUintField<4>(joblist::FLOATNULL, colIndex); else *((float *) &data[offsets[colIndex]]) = val;