[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error: Array<T>::compute_index: invalid ra_idxing operation
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: error: Array<T>::compute_index: invalid ra_idxing operation |
Date: |
Tue, 6 Sep 2011 13:49:22 -0500 |
On 6 September 2011 12:14, babelproofreader <address@hidden> wrote:
> The function loops using the following syntax
>
> for ( octave_idx_type ii (50); ii < args(0).length (); ii++ ) // Start the
> main loop
> {
> code here
> }
>
> which I have used many times before with out errors. I can see no obvious
> mistakes in the main body of the code.
What's args? Can you please show us the rest of the code? There's
nothing syntactically wrong in what you showed. You're seeing an error
from incorrectly indexing a sparse matrix. Where is the sparse matrix
in what you showed?
- Jordi G. H.