Skip to content

Commit

Permalink
Vector: fixed *= operator
Browse files Browse the repository at this point in the history
  • Loading branch information
david-bermejo committed Apr 30, 2021
1 parent 19341e3 commit 7586545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion math/vector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ namespace gopt

Vector_t& operator*=(const T& s)
{
return add(s);
return mul(s);
}

Vector_t& operator/=(const T& s)
Expand Down

0 comments on commit 7586545

Please sign in to comment.