Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Pencilcaseman committed Jul 14, 2023
1 parent b017099 commit db89dab
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions librapid/include/librapid/array/arrayContainer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -670,69 +670,79 @@ namespace librapid {
auto ArrayContainer<ShapeType_, StorageType_>::operator+=(const T &value)
-> ArrayContainer & {
*this = *this + value;
return *this;
}

template<typename ShapeType_, typename StorageType_>
template<typename T>
auto ArrayContainer<ShapeType_, StorageType_>::operator-=(const T &value)
-> ArrayContainer & {
*this = *this - value;
return *this;
}

template<typename ShapeType_, typename StorageType_>
template<typename T>
auto ArrayContainer<ShapeType_, StorageType_>::operator*=(const T &value)
-> ArrayContainer & {
*this = *this * value;
return *this;
}

template<typename ShapeType_, typename StorageType_>
template<typename T>
auto ArrayContainer<ShapeType_, StorageType_>::operator/=(const T &value)
-> ArrayContainer & {
*this = *this / value;
return *this;
}

template<typename ShapeType_, typename StorageType_>
template<typename T>
auto ArrayContainer<ShapeType_, StorageType_>::operator%=(const T &value)
-> ArrayContainer & {
*this = *this % value;
return *this;
}

template<typename ShapeType_, typename StorageType_>
template<typename T>
auto ArrayContainer<ShapeType_, StorageType_>::operator&=(const T &value)
-> ArrayContainer & {
*this = *this & value;
return *this;
}

template<typename ShapeType_, typename StorageType_>
template<typename T>
auto ArrayContainer<ShapeType_, StorageType_>::operator|=(const T &value)
-> ArrayContainer & {
*this = *this | value;
return *this;
}

template<typename ShapeType_, typename StorageType_>
template<typename T>
auto ArrayContainer<ShapeType_, StorageType_>::operator^=(const T &value)
-> ArrayContainer & {
*this = *this ^ value;
return *this;
}

template<typename ShapeType_, typename StorageType_>
template<typename T>
auto ArrayContainer<ShapeType_, StorageType_>::operator<<=(const T &value)
-> ArrayContainer & {
*this = *this << value;
return *this;
}

template<typename ShapeType_, typename StorageType_>
template<typename T>
auto ArrayContainer<ShapeType_, StorageType_>::operator>>=(const T &value)
-> ArrayContainer & {
*this = *this >> value;
return *this;
}

template<typename ShapeType_, typename StorageType_>
Expand Down

0 comments on commit db89dab

Please sign in to comment.