diff --git a/src/xc_integrator/local_work_driver/host/obara_saika/src/integral_4.cxx b/src/xc_integrator/local_work_driver/host/obara_saika/src/integral_4.cxx index 7b0ab4ed..7bb8f02c 100644 --- a/src/xc_integrator/local_work_driver/host/obara_saika/src/integral_4.cxx +++ b/src/xc_integrator/local_work_driver/host/obara_saika/src/integral_4.cxx @@ -4841,7 +4841,7 @@ void integral_4(size_t npts, // cleanup code for(; p_outer < npts; p_outer += NPTS_LOCAL) { - size_t npts_inner = MIN((size_t) NPTS_LOCAL, npts - p_outer); + size_t npts_inner = std::min((size_t) NPTS_LOCAL, npts - p_outer); double *_point_outer = (_points + p_outer); double xA = rA.x;