Menu

#228 operator*(cvec, vec)

release_4.3.x
accepted
None
1
2013-08-03
2013-07-19
No

operator*(cvec, vec) multiplies the cvec for a the first element of the vec instead of computing the scalar product of the two vectors.
example:
cvec a="1 1 1";
vec b="2 2 2";
a * b results in
[[2+0i]
[2+0i]
[2+0i]]
instead of 6+0i as it should be (and as it is if b is, for instance, an ivec). It appears that the correct function is missing in operators.h.
Happened with ITPP 4.2.4, Ubuntu 12.04.

Discussion

  • Bogdan Cristea

    Bogdan Cristea - 2013-08-03
    • status: open --> accepted
    • assigned_to: Bogdan Cristea
    • Group: release_4.2.x --> release_4.3.x
     
  • Bogdan Cristea

    Bogdan Cristea - 2013-08-03

    changes committed into master branch

     

Log in to post a comment.