Loading src/TNL/Containers/Array.h +10 −11 Original line number Diff line number Diff line Loading @@ -568,7 +568,6 @@ template< typename Value, typename Device, typename Index > std::ostream& operator<<( std::ostream& str, const Array< Value, Device, Index >& v ); } // namespace Containers } // namespace TNL #include <TNL/Containers/Array.hpp> src/TNL/Containers/Array.hpp +14 −14 Original line number Diff line number Diff line Loading @@ -73,7 +73,6 @@ Array( const Array< Value, Device, Index >& array ) allocationPointer( nullptr ), referenceCounter( 0 ) { //this->bind( array ); this->setSize( array.getSize() ); Algorithms::ArrayOperations< Device >::copyMemory( this->getData(), array.getData(), array.getSize() ); } Loading Loading @@ -567,9 +566,11 @@ template< typename Value, typename Device, typename Index > template< typename ArrayT > bool Array< Value, Device, Index >::operator != ( const ArrayT& array ) const bool Array< Value, Device, Index >:: operator!=( const ArrayT& array ) const { return ! ( ( *this ) == array ); return ! ( *this == array ); } template< typename Value, Loading Loading @@ -700,6 +701,5 @@ std::ostream& operator << ( std::ostream& str, const Array< Value, Device, Index return str; } } // namespace Containers } // namespace TNL src/TNL/Containers/ArrayView.h +2 −2 File changed.Contains only whitespace changes. Show changes src/TNL/Containers/ArrayView.hpp +2 −2 File changed.Contains only whitespace changes. Show changes Loading
src/TNL/Containers/Array.h +10 −11 Original line number Diff line number Diff line Loading @@ -568,7 +568,6 @@ template< typename Value, typename Device, typename Index > std::ostream& operator<<( std::ostream& str, const Array< Value, Device, Index >& v ); } // namespace Containers } // namespace TNL #include <TNL/Containers/Array.hpp>
src/TNL/Containers/Array.hpp +14 −14 Original line number Diff line number Diff line Loading @@ -73,7 +73,6 @@ Array( const Array< Value, Device, Index >& array ) allocationPointer( nullptr ), referenceCounter( 0 ) { //this->bind( array ); this->setSize( array.getSize() ); Algorithms::ArrayOperations< Device >::copyMemory( this->getData(), array.getData(), array.getSize() ); } Loading Loading @@ -567,9 +566,11 @@ template< typename Value, typename Device, typename Index > template< typename ArrayT > bool Array< Value, Device, Index >::operator != ( const ArrayT& array ) const bool Array< Value, Device, Index >:: operator!=( const ArrayT& array ) const { return ! ( ( *this ) == array ); return ! ( *this == array ); } template< typename Value, Loading Loading @@ -700,6 +701,5 @@ std::ostream& operator << ( std::ostream& str, const Array< Value, Device, Index return str; } } // namespace Containers } // namespace TNL