Skip to content
Snippets Groups Projects
Commit fa61a35c authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Fixed interface of the DistributedMatrix

parent 9a6c3d4c
No related branches found
No related tags found
No related merge requests found
...@@ -120,7 +120,7 @@ public: ...@@ -120,7 +120,7 @@ public:
// FIXME: does not work for distributed matrices, here only due to common interface // FIXME: does not work for distributed matrices, here only due to common interface
template< typename Vector1, typename Vector2 > template< typename Vector1, typename Vector2 >
bool performSORIteration( const Vector1& b, void performSORIteration( const Vector1& b,
const IndexType row, const IndexType row,
Vector2& x, Vector2& x,
const RealType& omega = 1.0 ) const; const RealType& omega = 1.0 ) const;
......
...@@ -268,14 +268,14 @@ vectorProduct( const InVector& inVector, ...@@ -268,14 +268,14 @@ vectorProduct( const InVector& inVector,
template< typename Matrix > template< typename Matrix >
template< typename Vector1, typename Vector2 > template< typename Vector1, typename Vector2 >
bool void
DistributedMatrix< Matrix >:: DistributedMatrix< Matrix >::
performSORIteration( const Vector1& b, performSORIteration( const Vector1& b,
const IndexType row, const IndexType row,
Vector2& x, Vector2& x,
const RealType& omega ) const const RealType& omega ) const
{ {
return getLocalMatrix().performSORIteration( b, row, x, omega ); getLocalMatrix().performSORIteration( b, row, x, omega );
} }
} // namespace Matrices } // namespace Matrices
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment