From 6b7222ea992e82765249590a6dbfd81a7cd2ba9d Mon Sep 17 00:00:00 2001 From: Varun Agrawal Date: Thu, 24 Oct 2024 17:42:29 -0400 Subject: [PATCH] remove reference for shared_ptr --- gtsam/linear/PCGSolver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtsam/linear/PCGSolver.h b/gtsam/linear/PCGSolver.h index 17cc2d3db..42bb3fccc 100644 --- a/gtsam/linear/PCGSolver.h +++ b/gtsam/linear/PCGSolver.h @@ -42,7 +42,7 @@ struct GTSAM_EXPORT PCGSolverParameters : public ConjugateGradientParameters { PCGSolverParameters() {} PCGSolverParameters( - const std::shared_ptr &preconditioner) + const std::shared_ptr preconditioner) : preconditioner(preconditioner) {} void print(std::ostream &os) const override;