1 Aug
2011
1 Aug
'11
3:58 p.m.
Hi Marcel,
On Mon, Aug 1, 2011 at 7:39 AM, Marcel
thanks for your reply. The example compiles here too in fact, which made me check my actual code more thoroughly: I had used "2" for the factor in my actual code instead of "2.0" as stated in my example. The differing value types seemed to cause the problem.
Ah, yes. The scalar multiplication is defined for the underlying type
of the quantity -- had you written quantity