Skip to content
Snippets Groups Projects
Commit c91ba460 authored by Oliver Sander's avatar Oliver Sander
Browse files

Use 'override' in ParallelScalarProduct

parent 0cfd4a01
No related branches found
No related tags found
1 merge request!307Unit test for scalar products
......@@ -121,7 +121,7 @@ namespace Dune {
It is assumed that the vectors are consistent on the interior+border
partition.
*/
virtual field_type dot (const X& x, const X& y) const
virtual field_type dot (const X& x, const X& y) const override
{
field_type result(0);
_communication.dot(x,y,result); // explicitly loop and apply masking
......@@ -131,13 +131,13 @@ namespace Dune {
/*! \brief Norm of a right-hand side vector.
The vector must be consistent on the interior+border partition
*/
virtual real_type norm (const X& x) const
virtual real_type norm (const X& x) const override
{
return _communication.norm(x);
}
//! Category of the scalar product (see SolverCategory::Category)
virtual SolverCategory::Category category() const
virtual SolverCategory::Category category() const override
{
return _category;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment