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

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

[Octave-bug-tracker] [bug #37247] error: octave_base_value::array_value(


From: Michael Godfrey
Subject: [Octave-bug-tracker] [bug #37247] error: octave_base_value::array_value(): wrong type argument `complex matrix'
Date: Sat, 01 Sep 2012 13:35:05 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0

URL:
  <http://savannah.gnu.org/bugs/?37247>

                 Summary: error: octave_base_value::array_value(): wrong type
argument `complex matrix'
                 Project: GNU Octave
            Submitted by: godfrey
            Submitted on: Sat 01 Sep 2012 01:35:04 PM GMT
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: Michael Godfrey
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

This error: 
error: octave_base_value::array_value(): wrong type argument `complex matrix'
happens if I use "large" vectors in some signal processing code that I am
developing.  For short vectors, the code runs correctly. The back trace points
to line 40:

for K = 1:NT6;                  <=  line 40
  DC(K,1) = DT(K)*APC;
  APC = APC*DCK;
endfor;

(NT6 = 1020)

This is with the devel system as on 31 August.
[pbdsl3:octave] hg tip
changeset:   15270:6615a46d90ec
tag:         tip
user:        Rik <address@hidden>
date:        Thu Aug 30 20:29:37 2012 -0700
summary:     Fix which() reporting incorrect directory for functions in
libinterp.

By large vectors, I mean length of about 1000.  Many of the vectors are
complex.  But, the above are all real.
If I use vectors of length around 100 there is no error
and results are correct.

By the way, as you can see, this code is very non-optimized.
It was "translated" from Fortran.  I am just starting on
optimizing it.  




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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