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

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

[Octave-bug-tracker] [bug #57305] @vpi/sum.m fails in octave (but not in


From: Alois Schlögl
Subject: [Octave-bug-tracker] [bug #57305] @vpi/sum.m fails in octave (but not in matlab)
Date: Wed, 27 Nov 2019 05:10:10 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Follow-up Comment #4, bug #57305 (project octave):

The problem is this line 

  A = permute(A,P);

where the workspace has this content: 

whos

   Attr Name        Size                     Bytes  Class
   ==== ====        ====                     =====  ===== 
    f   A           1x10                       664  vpi
        P           1x2                         16  double
  a     argn        1x1                          1  char
    f   dim         1x1                          8  double

Total is 14 elements using 689 bytes

A =
 
Columns 1 through 4
               17              289             4913            83521
 
Columns 5 through 8
          1419857         24137569        410338673       6975757441
 
Columns 9 through 10
     118587876497    2015993900449
P =

   2   1

and 

  A = permute(A,P);

fails with this error: 

error: octave_base_value::permute (): wrong type argument 'class'




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57305>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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