octave-maintainers
[Top][All Lists]
Advanced

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

common_size not working for classes?


From: CdeMills
Subject: common_size not working for classes?
Date: Sun, 7 Jul 2013 02:25:23 -0700 (PDT)

Hello,

I tried to use this function on multi-precision objects, this generates an
error:

error: can't perform indexing operations for class type
error: called from
    common_size at line 75 column 27
    betainc at line 4 column 21
stopped in /usr/share/octave/3.6.4/m/general/common_size.m

I suspect the problem to be inside libinterp/corefcn/cellfun.cc:
 for (octave_idx_type i = 0; i < nel; i++)
            {
              octave_quit ();
              octave_value tmp = x(i);
              y(i) = tmp.do_index_op (idx);
              if (error_state)
                break;
            }

Is there some function to implement into the class in order to support the
do_index_op ?

Regards

Pascal









--
View this message in context: 
http://octave.1599824.n4.nabble.com/common-size-not-working-for-classes-tp4655282.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.


reply via email to

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