![]() |
Blitz Support : |
From: Hendrik Belitz (h.belitz_at_[hidden])
Date: 2003-12-01 10:24:35
I have the following code to construct a new 2D Vector from two entries of a
vector field:
TinyVector<double,2> resultingForce =
field(pos1) + field(pos2);
While compiling i get the following error message:
csn.cpp:90: error: no match for `blitz::TinyVector<double, 2>& +
blitz::TinyVector<double, 2>&' operator
Why isn't this working and how could this problem be solved?
----------------------------------------------------------------
Dipl.-Inform. Hendrik Belitz
Zentrallabor für Elektronik
Forschungszentrum Jülich GmbH
email: h.belitz_at_[hidden]