Commit 4d61c4a7 authored by ESTERIE Pierre's avatar ESTERIE Pierre
Browse files

Fix point operators

parent 026853e6
......@@ -191,7 +191,7 @@ namespace scalfmm::container
// Soustraction assignment operator
template<typename PointOrProxyOrArray>
inline auto operator-=(point_proxy_type const& other) -> point&
inline auto operator-=(PointOrProxyOrArray const& other) -> point&
{
for(std::size_t i = 0; i < dimension; ++i)
{
......@@ -202,7 +202,7 @@ namespace scalfmm::container
// Data to data multiplication assignment
template<typename PointOrProxyOrArray>
inline auto operator*=(point_proxy_type const& other) -> point&
inline auto operator*=(PointOrProxyOrArray const& other) -> point&
{
for(std::size_t i = 0; i < dimension; ++i)
{
......@@ -213,7 +213,7 @@ namespace scalfmm::container
// Data to data division assignment
template<typename PointOrProxyOrArray>
inline auto operator/=(point_proxy_type const& other) -> point&
inline auto operator/=(PointOrProxyOrArray const& other) -> point&
{
for(std::size_t i = 0; i < dimension; ++i)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment