help-octave
[Top][All Lists]
Advanced

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

Re: Convert double to octave_value for assignment to column vector


From: Jaroslav Hajek
Subject: Re: Convert double to octave_value for assignment to column vector
Date: Mon, 7 Jun 2010 10:26:02 +0200

On Mon, Jun 7, 2010 at 10:15 AM, babelproofreader
<address@hidden> wrote:
>
>> Can you attach the file instead of inserting it?
>
> File attached below.
>
> http://octave.1599824.n4.nabble.com/file/n2245642/rep_median_compile.cc
> rep_median_compile.cc


What, by the Holy Force, do you expect "octave_value (i_slopes)" to
do? A pointer to an octave_value conversion should do what?
It probably converts the pointer to bool here. You should not assume
that some conversion works just because it compiles.


-- 
RNDr. Jaroslav Hajek, PhD
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz


reply via email to

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