octave-maintainers
[Top][All Lists]
Advanced

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

Re: [CHANGESET]: First attempt at a single precision type.


From: David Bateman
Subject: Re: [CHANGESET]: First attempt at a single precision type.
Date: Wed, 30 Apr 2008 23:18:42 +0200
User-agent: Thunderbird 2.0.0.12 (X11/20080306)

John W. Eaton wrote:
> On 30-Apr-2008, John W. Eaton wrote:
> 
> | Did you mean to write this as
> | 
> |   ComplexMatrix ComplexMatrix::stack (const Matrix&) const
> |   {
> |     return MArray2<ComplexMatrix>::stack (a);
> |   }
> | 
> | in the ComplexMatrix class?
> 
> Oops, I meant "MArray2<complex>::stack (a)".

Or even "MArray2<Complex>::stack(a)", sorry the fault was only in the
e-mail not in what I implemented.. Thinking about the problem is
probably that the template needs to be instantiated somewhere, though I
thought the call to the templated method should have done that itself..
I think I see in any case why these functions haven't been templated in
the past :-)

D.



reply via email to

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