Changeset 12512
- Timestamp:
- 10/23/07 09:55:47 (1 year ago)
- Files:
-
- branches/1.4/gdal/frmts/pcraster/pcrasterdataset.cpp (modified) (1 diff)
- branches/1.4/gdal/frmts/pcraster/pcrasterutil.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.4/gdal/frmts/pcraster/pcrasterdataset.cpp
r10646 r12512 308 308 d_cellSize = static_cast<double>(RgetCellSize(d_map)); 309 309 d_cellRepresentation = RgetUseCellRepr(d_map); 310 assert(d_cellRepresentation != CR_UNDEFINED);310 CPLAssert(d_cellRepresentation != CR_UNDEFINED); 311 311 d_valueScale = RgetValueScale(d_map); 312 assert(d_valueScale != VS_UNDEFINED);312 CPLAssert(d_valueScale != VS_UNDEFINED); 313 313 d_missingValue = ::missingValue(d_cellRepresentation); 314 314 branches/1.4/gdal/frmts/pcraster/pcrasterutil.cpp
r10056 r12512 220 220 } 221 221 default: { 222 assert(false);222 CPLAssert(false); 223 223 break; 224 224 } … … 312 312 case CR_REAL4: { 313 313 // using <limits> breaks on gcc 2.95 314 // assert(std::numeric_limits<REAL4>::is_iec559);314 // CPLAssert(std::numeric_limits<REAL4>::is_iec559); 315 315 // missingValue = -std::numeric_limits<REAL4>::max(); 316 316 missingValue = -FLT_MAX; … … 318 318 } 319 319 default: { 320 assert(false);320 CPLAssert(false); 321 321 break; 322 322 } … … 368 368 } 369 369 default: { 370 assert(false);370 CPLAssert(false); 371 371 break; 372 372 } … … 405 405 } 406 406 default: { 407 assert(false);407 CPLAssert(false); 408 408 break; 409 409 }
