Skip to content

Commit

Permalink
Fixes for compile issues and default context settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
casevh committed Oct 22, 2024
1 parent b144b60 commit dbba192
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Gmpy2Build(build_ext):

def initialize_options(self):
build_ext.initialize_options(self)
self.fast = True
self.fast = False
self.gcov = False
self.vector = False
self.static = False
Expand Down
4 changes: 2 additions & 2 deletions src/gmpy2_context.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ GMPy_CTXT_New(void)
if ((result = PyObject_New(CTXT_Object, &CTXT_Type))) {
result->ctx.mpfr_prec = DBL_MANT_DIG;
result->ctx.mpfr_round = MPFR_RNDN;
result->ctx.emax = MPFR_EMAX_MAX;
result->ctx.emin = MPFR_EMIN_MIN;
result->ctx.emax = MPFR_EMAX_DEFAULT;
result->ctx.emin = MPFR_EMIN_DEFAULT;
result->ctx.subnormalize = 0;
result->ctx.underflow = 0;
result->ctx.overflow = 0;
Expand Down

0 comments on commit dbba192

Please sign in to comment.