From d0f306e181800c4220c64c0da27c921382dd148f Mon Sep 17 00:00:00 2001 From: Kristoffer Carlsson Date: Tue, 5 Mar 2019 13:31:39 +0100 Subject: [PATCH] fix undef var in conversion in rounding modes in MPFR --- base/mpfr.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/mpfr.jl b/base/mpfr.jl index b3a704c0b084f..c08366b8b75a7 100644 --- a/base/mpfr.jl +++ b/base/mpfr.jl @@ -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