Skip to content

Commit 050790c

Browse files
authored
Avoid redundant call to max_exp10(T) (#18)
1 parent e4786c5 commit 050790c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FixedPointDecimals.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ struct FixedDecimal{T <: Integer, f} <: Real
9494
else
9595
throw(ArgumentError(
9696
"Requested number of decimal places $f exceeds the max allowed for the " *
97-
"storage type $T: [0, $(max_exp10(T))]"
97+
"storage type $T: [0, $n]"
9898
))
9999
end
100100
end

0 commit comments

Comments
 (0)