This repository has been archived by the owner on Mar 12, 2021. It is now read-only.
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.
Whitelist hypot #442
Description
using CuArrays, LinearAlgebra
x = rand(Float32) + rand(Float32)*im
norm.(cu([x])) == norm.([x])
hypot.(cu([real(x)]),cu([imag(x)])) == hypot.([real(x)],[imag(x)])
it warns but isn't necessary. Xref: SciML/DiffEqBase.jl#347
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment