Skip to content

Commit

Permalink
Fix a bug preveting ctests to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
mmikaitis committed May 29, 2024
1 parent a055c3f commit 7a9fa31
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cpfloat_template.h
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,9 @@ static inline FPPARAMS COMPUTE_GLOBAL_PARAMS(const optstruct *fpopts,
cpfloat_exponent_t emax = fpopts->explim == CPFLOAT_EXPRANGE_TARG ?
fpopts->emax :
DEFEMAX;
cpfloat_exponent_t emin = fpopts->emin;
cpfloat_exponent_t emin = fpopts->explim == CPFLOAT_EXPRANGE_TARG ?
fpopts->emin :
DEFEMIN;

if (precision > DEFPREC) {
precision = DEFPREC;
Expand Down

0 comments on commit 7a9fa31

Please sign in to comment.