[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error with dim_vector
From: |
John W. Eaton |
Subject: |
Re: Error with dim_vector |
Date: |
Fri, 14 Aug 2009 01:43:52 -0400 |
On 13-Aug-2009, Justin Bare wrote:
| I was originally just doing:
|
| data(v) = Cell((octave_value)var);
You probably want to write
octave_value (var)
not
(octave_value) var
Casting to octave_value is probably not what you want to do. I think
there's a significant difference between casting and calling a
constructor.
jwe