Skip to content

Commit

Permalink
fix Cr2p having Inplace but a type-spec - PDLPorters/pdl#511
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Dec 27, 2024
1 parent ecc0789 commit 4467298
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
- fix Cr2p having Inplace but a type-spec (https://github.com/PDLPorters/pdl/issues/511)

2.010 2024-11-26
- split out from PDL 2.095
3 changes: 2 additions & 1 deletion complex.pd
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,9 @@ pp_def 'i2C',
;

pp_def 'Cr2p',
Pars => 'r(m=2); float+ [o]p(m=2)',
Pars => 'r(m=2); [o]p(m=2)',
Inplace => 1,
GenericTypes => $F,
Doc => 'convert complex numbers in rectangular form to polar (mod,arg) form. Works inplace',
Code => q!
$GENERIC() x = $r(m=>0);
Expand Down

0 comments on commit 4467298

Please sign in to comment.