Mercurial > hg > svcore
comparison data/model/EditableDenseThreeDimensionalModel.cpp @ 257:46398ab6ff58
* OS/X build fixes
author | Chris Cannam |
---|---|
date | Fri, 27 Apr 2007 16:10:10 +0000 |
parents | 9c85517ff0f5 |
children | 70a232b1f12a |
comparison
equal
deleted
inserted
replaced
256:9c85517ff0f5 | 257:46398ab6ff58 |
---|---|
176 | 176 |
177 bool allChange = false; | 177 bool allChange = false; |
178 | 178 |
179 for (size_t i = 0; i < values.size(); ++i) { | 179 for (size_t i = 0; i < values.size(); ++i) { |
180 float value = values[i]; | 180 float value = values[i]; |
181 if (isnan(value) || isinf(value)) { | 181 if (std::isnan(value) || std::isinf(value)) { |
182 continue; | 182 continue; |
183 } | 183 } |
184 if (!m_haveExtents || value < m_minimum) { | 184 if (!m_haveExtents || value < m_minimum) { |
185 m_minimum = value; | 185 m_minimum = value; |
186 allChange = true; | 186 allChange = true; |