From 0cda9e20cd1722ed16c59f47ee442e7ae4e35db9 Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Tue, 17 Nov 2020 11:19:51 +0000 Subject: [PATCH] Warning suppression --- lib/Physics/CorrelatorFitter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Physics/CorrelatorFitter.cpp b/lib/Physics/CorrelatorFitter.cpp index 7784f5d..af7b4f3 100644 --- a/lib/Physics/CorrelatorFitter.cpp +++ b/lib/Physics/CorrelatorFitter.cpp @@ -102,7 +102,7 @@ DoubleModel CorrelatorModels::makeConstModel(void) { DoubleModel mod; - mod.setFunction([](const double *x, const double *p __dumb) + mod.setFunction([](const double *x __dumb, const double *p __dumb) { return p[0]; }, 1, 1);