Skip to content

Commit

Permalink
Remove unused type variable from roundval (#372)
Browse files Browse the repository at this point in the history
  • Loading branch information
KnutAM authored Dec 9, 2022
1 parent 890c9f1 commit f833de7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/naming.jl
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ function valtostring(val::AbstractFloat, digits, sigdigits)
val = roundval(val, digits, sigdigits)
return replace(string(val),".0e"=>"e")
end
function roundval(val, digits, sigdigits) where {T}
function roundval(val, digits, sigdigits)
if isnan(val) || isinf(val)
return val
else
Expand Down

0 comments on commit f833de7

Please sign in to comment.