Loading src/TNL/Containers/Algorithms/ArrayIO.h +2 −2 Original line number Diff line number Diff line Loading @@ -71,14 +71,14 @@ class ArrayIO< Value, Device, Index, false > const Value* data, const Index elements ) { return file.write< Value, Device, Index >( data, elements ); return file.write< Value, Device >( data, elements ); } static bool load( File& file, Value* data, const Index elements ) { return file.read< Value, Device, Index >( data, elements ); return file.read< Value, Device >( data, elements ); } }; Loading src/TNL/Containers/StaticArray1D_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -162,7 +162,7 @@ inline void StaticArray< 1, Value >::setValue( const ValueType& val ) template< typename Value > bool StaticArray< 1, Value >::save( File& file ) const { if( ! file. write< Value, Devices::Host, int >( data, size ) ) if( ! file. write< Value, Devices::Host >( data, size ) ) { std::cerr << "Unable to write " << getType() << "." << std::endl; return false; Loading src/TNL/Containers/StaticArray2D_impl.h +2 −2 Original line number Diff line number Diff line Loading @@ -192,7 +192,7 @@ inline void StaticArray< 2, Value >::setValue( const ValueType& val ) template< typename Value > bool StaticArray< 2, Value >::save( File& file ) const { if( ! file. write< Value, Devices::Host, int >( data, size ) ) if( ! file. write< Value, Devices::Host >( data, size ) ) { std::cerr << "Unable to write " << getType() << "." << std::endl; return false; Loading @@ -203,7 +203,7 @@ bool StaticArray< 2, Value >::save( File& file ) const template< typename Value > bool StaticArray< 2, Value >::load( File& file) { if( ! file.read< Value, Devices::Host, int >( data, size ) ) if( ! file.read< Value, Devices::Host >( data, size ) ) { std::cerr << "Unable to read " << getType() << "." << std::endl; return false; Loading src/TNL/Containers/StaticArray3D_impl.h +2 −2 Original line number Diff line number Diff line Loading @@ -213,7 +213,7 @@ void StaticArray< 3, Value >::setValue( const ValueType& val ) template< typename Value > bool StaticArray< 3, Value >::save( File& file ) const { if( ! file. write< Value, Devices::Host, int >( data, size ) ) if( ! file. write< Value, Devices::Host >( data, size ) ) { std::cerr << "Unable to write " << getType() << "." << std::endl; return false; Loading @@ -224,7 +224,7 @@ bool StaticArray< 3, Value >::save( File& file ) const template< typename Value > bool StaticArray< 3, Value >::load( File& file) { if( ! file.read< Value, Devices::Host, int >( data, size ) ) if( ! file.read< Value, Devices::Host >( data, size ) ) { std::cerr << "Unable to read " << getType() << "." << std::endl; return false; Loading src/TNL/Containers/StaticArray_impl.h +2 −2 Original line number Diff line number Diff line Loading @@ -160,7 +160,7 @@ inline void StaticArray< Size, Value >::setValue( const ValueType& val ) template< int Size, typename Value > bool StaticArray< Size, Value >::save( File& file ) const { if( ! file. write< Value, Devices::Host, int >( data, size ) ) if( ! file. write< Value, Devices::Host >( data, size ) ) { std::cerr << "Unable to write " << getType() << "." << std::endl; return false; Loading @@ -171,7 +171,7 @@ bool StaticArray< Size, Value >::save( File& file ) const template< int Size, typename Value > bool StaticArray< Size, Value >::load( File& file) { if( ! file.read< Value, Devices::Host, int >( data, size ) ) if( ! file.read< Value, Devices::Host >( data, size ) ) { std::cerr << "Unable to read " << getType() << "." << std::endl; return false; Loading Loading
src/TNL/Containers/Algorithms/ArrayIO.h +2 −2 Original line number Diff line number Diff line Loading @@ -71,14 +71,14 @@ class ArrayIO< Value, Device, Index, false > const Value* data, const Index elements ) { return file.write< Value, Device, Index >( data, elements ); return file.write< Value, Device >( data, elements ); } static bool load( File& file, Value* data, const Index elements ) { return file.read< Value, Device, Index >( data, elements ); return file.read< Value, Device >( data, elements ); } }; Loading
src/TNL/Containers/StaticArray1D_impl.h +1 −1 Original line number Diff line number Diff line Loading @@ -162,7 +162,7 @@ inline void StaticArray< 1, Value >::setValue( const ValueType& val ) template< typename Value > bool StaticArray< 1, Value >::save( File& file ) const { if( ! file. write< Value, Devices::Host, int >( data, size ) ) if( ! file. write< Value, Devices::Host >( data, size ) ) { std::cerr << "Unable to write " << getType() << "." << std::endl; return false; Loading
src/TNL/Containers/StaticArray2D_impl.h +2 −2 Original line number Diff line number Diff line Loading @@ -192,7 +192,7 @@ inline void StaticArray< 2, Value >::setValue( const ValueType& val ) template< typename Value > bool StaticArray< 2, Value >::save( File& file ) const { if( ! file. write< Value, Devices::Host, int >( data, size ) ) if( ! file. write< Value, Devices::Host >( data, size ) ) { std::cerr << "Unable to write " << getType() << "." << std::endl; return false; Loading @@ -203,7 +203,7 @@ bool StaticArray< 2, Value >::save( File& file ) const template< typename Value > bool StaticArray< 2, Value >::load( File& file) { if( ! file.read< Value, Devices::Host, int >( data, size ) ) if( ! file.read< Value, Devices::Host >( data, size ) ) { std::cerr << "Unable to read " << getType() << "." << std::endl; return false; Loading
src/TNL/Containers/StaticArray3D_impl.h +2 −2 Original line number Diff line number Diff line Loading @@ -213,7 +213,7 @@ void StaticArray< 3, Value >::setValue( const ValueType& val ) template< typename Value > bool StaticArray< 3, Value >::save( File& file ) const { if( ! file. write< Value, Devices::Host, int >( data, size ) ) if( ! file. write< Value, Devices::Host >( data, size ) ) { std::cerr << "Unable to write " << getType() << "." << std::endl; return false; Loading @@ -224,7 +224,7 @@ bool StaticArray< 3, Value >::save( File& file ) const template< typename Value > bool StaticArray< 3, Value >::load( File& file) { if( ! file.read< Value, Devices::Host, int >( data, size ) ) if( ! file.read< Value, Devices::Host >( data, size ) ) { std::cerr << "Unable to read " << getType() << "." << std::endl; return false; Loading
src/TNL/Containers/StaticArray_impl.h +2 −2 Original line number Diff line number Diff line Loading @@ -160,7 +160,7 @@ inline void StaticArray< Size, Value >::setValue( const ValueType& val ) template< int Size, typename Value > bool StaticArray< Size, Value >::save( File& file ) const { if( ! file. write< Value, Devices::Host, int >( data, size ) ) if( ! file. write< Value, Devices::Host >( data, size ) ) { std::cerr << "Unable to write " << getType() << "." << std::endl; return false; Loading @@ -171,7 +171,7 @@ bool StaticArray< Size, Value >::save( File& file ) const template< int Size, typename Value > bool StaticArray< Size, Value >::load( File& file) { if( ! file.read< Value, Devices::Host, int >( data, size ) ) if( ! file.read< Value, Devices::Host >( data, size ) ) { std::cerr << "Unable to read " << getType() << "." << std::endl; return false; Loading