From af4d92e96ca243f80d8073ec87df0ea7f96241f0 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Fri, 1 Apr 2016 08:59:04 +0000 Subject: [PATCH] fix compile --- Numeric/bezierBasis.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/Numeric/bezierBasis.h b/Numeric/bezierBasis.h index 5495f7a943..2daf0cebfb 100644 --- a/Numeric/bezierBasis.h +++ b/Numeric/bezierBasis.h @@ -90,19 +90,17 @@ class bezierBasisRaiser { // Let f, g, h be three function whose Bezier coefficients are given. // This class allows to compute the Bezier coefficients of f*g and f*g*h. private : - class _Data; - std::map<int, std::vector<_Data> > _raiser1, _raiser2, _raiser3; - const bezierBasis *_bfs; - class _Data { friend class bezierBasisRaiser; private: - const int i, j, k; - const double val; + int i, j, k; + double val; public: - _Data(double val, int i, int j = -1, int k = -1) : - i(i), j(j), k(k), val(val) {} + _Data(double vv, int ii, int jj = -1, int kk = -1) : + i(ii), j(jj), k(kk), val(vv) {} }; + std::map<int, std::vector<_Data> > _raiser1, _raiser2, _raiser3; + const bezierBasis *_bfs; public: bezierBasisRaiser(const bezierBasis *bezier) : _bfs(bezier) { -- GitLab