Skip to content

Commit acdb4c7

Browse files
oxinaboxmcabbott
andauthored
type
Co-authored-by: Michael Abbott <32575566+mcabbott@users.noreply.github.com>
1 parent 4b1655e commit acdb4c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/rulesets/LinearAlgebra/symmetric.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@
307307
λ = if f in (acos, asin, atanh)
308308
# generate random number between -1 and 0.9. This would be between
309309
# -1 and 1 but we want to avoid domain errors from numerical error
310-
1.9 .* rand(real(T), n) .- 1
310+
T(1.9) .* rand(real(T), n) .- 1
311311
elseif f in (log, sqrt)
312312
abs.(randn(real(T), n))
313313
elseif f === acosh

0 commit comments

Comments
 (0)