Skip to content
This repository was archived by the owner on Mar 12, 2021. It is now read-only.
This repository was archived by the owner on Mar 12, 2021. It is now read-only.

Whitelist hypot #442

@ChrisRackauckas

Description

@ChrisRackauckas
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions