From 034aa35b3fdf45225b35b6f3af86e8ca73c044e4 Mon Sep 17 00:00:00 2001 From: Kevin Chung Date: Mon, 15 Jul 2024 12:03:13 -0700 Subject: [PATCH] revert changes in GridFunc --- src/pb/GridFunc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pb/GridFunc.h b/src/pb/GridFunc.h index e948ec96..699ed294 100644 --- a/src/pb/GridFunc.h +++ b/src/pb/GridFunc.h @@ -95,6 +95,8 @@ class GridFunc : public GridFuncInterface static std::vector buf3_; static std::vector buf4_; + void setValues(const int n, const T* src, const int pos = 0); + public: // Constructors GridFunc(const Grid&, const short, const short, const short); @@ -112,7 +114,6 @@ class GridFunc : public GridFuncInterface void setValues(const GridFunc& src); void setValues(const T val); - void setValues(const int n, const T* src, const int pos = 0); int inc(const short dir) const { return grid_.inc(dir); }