update default param value of `j()`.
This commit is contained in:
parent
0134e6427d
commit
da3a6aee74
|
@ -27,7 +27,7 @@ namespace php_arma
|
|||
|
||||
PHP_FUNCTION(j)
|
||||
{
|
||||
double imag = 0.;
|
||||
double imag = 1.;
|
||||
ZEND_PARSE_PARAMETERS_START(0, 1)
|
||||
Z_PARAM_OPTIONAL
|
||||
Z_PARAM_DOUBLE(imag)
|
||||
|
|
|
@ -17,7 +17,7 @@ function cx_double($real = 0., $imag = 0.) {}
|
|||
* @param double $imag[optional]
|
||||
* @return CxDouble
|
||||
*/
|
||||
function j($imag = 0.) {}
|
||||
function j($imag = 1.) {}
|
||||
|
||||
/**
|
||||
* Change the RNG seed (used within the php-armadillo extension).
|
||||
|
|
Reference in New Issue