fix_feenableexcept.patch 453 B

1234567891011121314
  1. diff --git a/CHOLMOD/GPU/t_cholmod_gpu.c b/CHOLMOD/GPU/t_cholmod_gpu.c
  2. index b4b1198..fe602f2 100644
  3. --- a/CHOLMOD/GPU/t_cholmod_gpu.c
  4. +++ b/CHOLMOD/GPU/t_cholmod_gpu.c
  5. @@ -92,7 +92,7 @@ int TEMPLATE2 (CHOLMOD (gpu_init))
  6. cudaError_t cudaErr ;
  7. size_t maxBytesSize, HostPinnedSize ;
  8. - feenableexcept (FE_DIVBYZERO | FE_INVALID | FE_OVERFLOW );
  9. + feraiseexcept (FE_DIVBYZERO | FE_INVALID | FE_OVERFLOW );
  10. maxSize = L->maxcsize;