Skip to content

Commit

Permalink
fix undef var in conversion in rounding modes in MPFR (#31258)
Browse files Browse the repository at this point in the history
(cherry picked from commit c214427)
  • Loading branch information
KristofferC committed Apr 15, 2019
1 parent 2f93b5e commit ef16e8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/mpfr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function convert(::Type{RoundingMode}, r::MPFRRoundingMode)
elseif r == MPFRRoundFromZero
return RoundFromZero
else
throw(ArgumentError("invalid MPFR rounding mode code: $c"))
throw(ArgumentError("invalid MPFR rounding mode code: $r"))
end
end

Expand Down

0 comments on commit ef16e8e

Please sign in to comment.