Skip to content

Commit

Permalink
take Inplace off re and im as not make sense - #511
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Dec 27, 2024
1 parent 55969ec commit d9b97a2
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 @@ -479,7 +479,7 @@ sub cfunc {
Pars => 'complexv(); '.($make_real ? 'real' : '').' [o]b()',
HandleBad => 1,
NoBadifNaN => 1,
Inplace => 1,
($make_real ? () : (Inplace => 1)),
Code => pp_line_numbers(__LINE__-1, qq{
PDL_IF_BAD(if ( \$ISBAD(complexv()) ) \$SETBAD(b()); else,)
$codestr
Expand Down

0 comments on commit d9b97a2

Please sign in to comment.