#195 Operator +- between scalar and complex

release_2.3.x
closed
5
2013-05-24
2011-02-14
Anonymous
No

In file itpp/base/operators.h line 42 to 58, the operator+ and operator- functions use the scalar value in imag part as well, which is wrong.

Discussion

  • Stephan Ludwig

    Stephan Ludwig - 2011-04-12

    I can confirm this bug. See recently opened thread in help forum.

     
  • Bogdan Cristea

    Bogdan Cristea - 2011-04-13

    Corrected in revision 1861. Also, a test file has been added.

     
  • Wei-Yin Chen

    Wei-Yin Chen - 2011-04-27

    Thank you very much for fixing this issue!

     
  • Stephan Ludwig

    Stephan Ludwig - 2011-05-04

    cristeab: It is just for the gallery, but don't you want to close this bug report? Or resolution = fixed?

     
  • Bogdan Cristea

    Bogdan Cristea - 2011-05-04

    will be closed at the next release

     
  • Bogdan Cristea

    Bogdan Cristea - 2013-05-23
    • status: open --> accepted
    • Group: --> release_2.3.x
     
  • Bogdan Cristea

    Bogdan Cristea - 2013-05-24
    • status: accepted --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks