Skip to content

Commit

Permalink
Changed Generic Types of sqrt_upper to all complex types.
Browse files Browse the repository at this point in the history
  • Loading branch information
wlmb committed Jan 14, 2025
1 parent 4502fb3 commit ed188e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/PDL/Ops.pd
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ EOF
);

pp_def('sqrt_upper',
GenericTypes => [reverse qw(G C H)],
GenericTypes => [reverse @$C],
Pars => 'i(); complex [o] o()',
Doc => <<'EOF',
Take the complex square root of a number choosing that whose imaginary
Expand Down

0 comments on commit ed188e0

Please sign in to comment.