Turn off optimizing on k_temp

This commit is contained in:
Charlton, Scott R 2023-10-31 11:57:11 -06:00
parent 6e248c34be
commit 812061be2c

View File

@ -5404,6 +5404,10 @@ calc_vm(LDBLE tc, LDBLE pa)
return OK; return OK;
} }
#if defined(__INTEL_LLVM_COMPILER)
#pragma optimize( "", off )
#endif
/* ---------------------------------------------------------------------- */ /* ---------------------------------------------------------------------- */
int Phreeqc:: int Phreeqc::
k_temp(LDBLE tc, LDBLE pa) /* pa - pressure in atm */ k_temp(LDBLE tc, LDBLE pa) /* pa - pressure in atm */
@ -5478,6 +5482,10 @@ k_temp(LDBLE tc, LDBLE pa) /* pa - pressure in atm */
return (OK); return (OK);
} }
#if defined(__INTEL_LLVM_COMPILER)
#pragma optimize( "", on )
#endif
/* ---------------------------------------------------------------------- */ /* ---------------------------------------------------------------------- */
LDBLE Phreeqc:: LDBLE Phreeqc::
k_calc(LDBLE * l_logk, LDBLE tempk, LDBLE presPa) k_calc(LDBLE * l_logk, LDBLE tempk, LDBLE presPa)