We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ae2020 commit 911201aCopy full SHA for 911201a
inst/include/Rcpp/sugar/functions/complex.h
@@ -68,7 +68,7 @@ inline double complex__Re( Rcomplex x){ return x.r ; }
68
y.i = -x.i ;
69
return y ;
70
}
71
- inline double complex__Arg( Rcomplex x ){ return ::atan2(x.i, x.r); }
+ inline double complex__Arg( Rcomplex x ){ return ::atan2(x.i, x.r); }
72
// TODO: this does not use HAVE_C99_COMPLEX as in R, perhaps it should
73
inline Rcomplex complex__exp( Rcomplex x){
74
Rcomplex y ;
0 commit comments