Skip to content

Commit

Permalink
Another couple of Windows fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
wbhart committed Nov 23, 2015
1 parent 3726bb8 commit 9b09f9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions fmpz_lll/is_reduced_mpfr.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ fmpz_lll_is_reduced_mpfr(const fmpz_mat_t B, const fmpz_lll_t fl,
norm, MPFR_RNDN);
}
mpfr_mul_si(mpfr_mat_entry(V, j, i), mpfr_mat_entry(V, j, i),
-1, MPFR_RNDN);
-WORD(1), MPFR_RNDN);
mpfr_mul(mpfr_mat_entry(V, j, i), mpfr_mat_entry(V, j, i),
mpfr_mat_entry(V, j, j), MPFR_RNDN);
}
Expand Down Expand Up @@ -591,7 +591,7 @@ fmpz_lll_is_reduced_mpfr(const fmpz_mat_t B, const fmpz_lll_t fl,
norm, MPFR_RNDN);
}
mpfr_mul_si(mpfr_mat_entry(V, j, i), mpfr_mat_entry(V, j, i),
-1, MPFR_RNDN);
-WORD(1), MPFR_RNDN);
mpfr_mul(mpfr_mat_entry(V, j, i), mpfr_mat_entry(V, j, i),
mpfr_mat_entry(V, j, j), MPFR_RNDN);
}
Expand Down
4 changes: 2 additions & 2 deletions fmpz_lll/is_reduced_mpfr_with_removal.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ fmpz_lll_is_reduced_mpfr_with_removal(const fmpz_mat_t B, const fmpz_lll_t fl,
norm, MPFR_RNDN);
}
mpfr_mul_si(mpfr_mat_entry(V, j, i), mpfr_mat_entry(V, j, i),
-1, MPFR_RNDN);
-WORD(1), MPFR_RNDN);
mpfr_mul(mpfr_mat_entry(V, j, i), mpfr_mat_entry(V, j, i),
mpfr_mat_entry(V, j, j), MPFR_RNDN);
}
Expand Down Expand Up @@ -612,7 +612,7 @@ fmpz_lll_is_reduced_mpfr_with_removal(const fmpz_mat_t B, const fmpz_lll_t fl,
norm, MPFR_RNDN);
}
mpfr_mul_si(mpfr_mat_entry(V, j, i), mpfr_mat_entry(V, j, i),
-1, MPFR_RNDN);
-WORD(1), MPFR_RNDN);
mpfr_mul(mpfr_mat_entry(V, j, i), mpfr_mat_entry(V, j, i),
mpfr_mat_entry(V, j, j), MPFR_RNDN);
}
Expand Down

0 comments on commit 9b09f9d

Please sign in to comment.