Skip to content

Commit

Permalink
-Winconsistent-missing-override take three
Browse files Browse the repository at this point in the history
  • Loading branch information
weinbe2 committed Aug 8, 2023
1 parent 9d1e63f commit 568e9fd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions include/invert_quda.h
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ namespace quda {
/**
@return Return the residual vector from the prior solve
*/
ColorSpinorField &get_residual();
ColorSpinorField &get_residual() override;

virtual bool hermitian() const final { return false; } /** CGNE is for any system */

Expand Down Expand Up @@ -903,7 +903,7 @@ namespace quda {
/**
@return Return the residual vector from the prior solve
*/
ColorSpinorField &get_residual();
ColorSpinorField &get_residual() override;

virtual bool hermitian() const final { return false; } /** CGNR is for any system */

Expand Down Expand Up @@ -957,7 +957,7 @@ namespace quda {
/**
@return Return the residual vector from the prior solve
*/
ColorSpinorField &get_residual();
ColorSpinorField &get_residual() override;

virtual bool hermitian() const final { return false; } /** CG3NE is for any system */

Expand Down Expand Up @@ -1056,7 +1056,7 @@ namespace quda {
@param collect_tol maxiter tolerance start from which the r vectors are to be collected
*/
virtual void solve_and_collect(ColorSpinorField &out, ColorSpinorField &in, cvector_ref<ColorSpinorField> &v_r,
int collect_miniter, double collect_tol);
int collect_miniter, double collect_tol) override;

virtual bool hermitian() const override { return true; } /** PCG is only Hermitian system */

Expand Down Expand Up @@ -1348,7 +1348,7 @@ namespace quda {
/**
@return Return the residual vector from the prior solve
*/
ColorSpinorField &get_residual();
ColorSpinorField &get_residual() override;

virtual bool hermitian() const override { return true; } /** CG is only for Hermitian systems */

Expand Down

0 comments on commit 568e9fd

Please sign in to comment.