octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53179] Wrong result with bsxfun (single compl


From: Ceral Paquet
Subject: [Octave-bug-tracker] [bug #53179] Wrong result with bsxfun (single complex argument)
Date: Thu, 15 Mar 2018 17:45:16 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0

Follow-up Comment #3, bug #53179 (project octave):

Rik's suggestions plus one other change seem to fix this bug.

++
499,502c499,502
<                                have_ComplexNDArray = true;
<                                result_ComplexNDArray =
<                                  tmp(0).complex_array_value ();
<                                result_ComplexNDArray.resize (dvc);
---
>                               have_FloatComplexNDArray = true;
>                               result_FloatComplexNDArray =
>                                 tmp(0).float_complex_array_value ();
>                               result_FloatComplexNDArray.resize (dvc);
575c575
<                             FloatComplexNDArray (result_FloatNDArray);
---
>                             FloatComplexNDArray
(result_FloatComplexNDArray);
--

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53179>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]