help-octave
[Top][All Lists]
Advanced

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

Re: installing octave/cvs under slack-10.1


From: Jorge Barros de Abreu
Subject: Re: installing octave/cvs under slack-10.1
Date: Sat, 7 Jan 2006 15:08:26 -0200
User-agent: KMail/1.7.2

Ok John.

Compilation and instalation work fine now.

Thanks.

[]´s



Em Fri 06 Jan 2006 13:49, John W. Eaton escreveu:
>
> Does the following change avoid the parse error?
>
> jwe
>
> Index: src/oct-map.cc
> ===================================================================
> RCS file: /cvs/octave/src/oct-map.cc,v
> retrieving revision 1.46
> diff -u -r1.46 oct-map.cc
> --- src/oct-map.cc 12 Dec 2005 20:45:17 -0000 1.46
> +++ src/oct-map.cc 6 Jan 2006 15:47:05 -0000
> @@ -90,9 +90,15 @@
>  Octave_map::transpose (void) const
>  {
>    assert (ndims () == 2);
> +
>    dim_vector dv = dims ();
>
> -  Octave_map retval (dim_vector (dv(1), dv(0)));
> +  octave_idx_type nr = dv(0);
> +  octave_idx_type nc = dv(1);
> +
> +  dim_vector new_dims (nc, nr);
> +
> +  Octave_map retval (new_dims);
>
>    for (const_iterator p = begin (); p != end (); p++)
>      retval.assign (key(p), Cell (contents(p).transpose ()));

-- 
Data Estelar 2453741.205822
http://www.solar.com.br/~ficmatin
Desejo-lhe Paz, Vida Longa e Prosperidade.
São Bem Vindas Mensagens no Formato Texto Genérico com Acentos.





-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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