Re: [eigen] Overloading componentwise binary operators for vectors |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Overloading componentwise binary operators for vectors
- From: Cedric Doucet <cedric.doucet@xxxxxxxx>
- Date: Mon, 5 Oct 2015 19:49:33 +0200 (CEST)
- Thread-index: UK33UHiRar1ksI481tkiyAfMp69vyA==
- Thread-topic: Overloading componentwise binary operators for vectors
Hello Marc!
You're right I missed you remark because I thought it was related to the signature of classical_sum function.
As you wrote, I read your message too fast.
A friendly advice: try to be less patronizing when you help users to solve their problem, even if they make mistakes. ;)
I thank you very much and I'm very grateful to you.
Cédric
----- Mail original -----
> De: "Marc Glisse" <marc.glisse@xxxxxxxx>
> À: eigen@xxxxxxxxxxxxxxxxxxx
> Envoyé: Lundi 5 Octobre 2015 19:15:45
> Objet: Re: [eigen] Overloading componentwise binary operators for vectors
>
> On Sat, 3 Oct 2015, Marc Glisse wrote:
>
> > If you really want to write the type Sum, you need to replace 'Vector'
> > with 'const WrappedType'.
>
> I think you read my message too fast (if at all). Your typedef for Sum is
> wrong, and the compiler is likely telling you the right type in one of the
> error messages.
>
> --
> Marc Glisse
>
>
>