diff --git a/src/algebra/ShrinkVectorView.hpp b/src/algebra/ShrinkVectorView.hpp index cdf786c5a30970b747b0f540642d5637059198b8..83aed7cb2295ee4d20a044f7ba1039f34e7b5ffa 100644 --- a/src/algebra/ShrinkVectorView.hpp +++ b/src/algebra/ShrinkVectorView.hpp @@ -23,10 +23,10 @@ class ShrinkVectorView friend std::ostream& operator<<(std::ostream& os, const ShrinkVectorView& x) { - if (x.size() > 0) { + if (x.dimension() > 0) { os << 0 << ':' << NaNHelper(x[0]); } - for (size_t i = 1; i < x.size(); ++i) { + for (size_t i = 1; i < x.dimension(); ++i) { os << ' ' << i << ':' << NaNHelper(x[i]); } return os; diff --git a/src/scheme/PolynomialReconstruction.cpp b/src/scheme/PolynomialReconstruction.cpp index 0e0b2a5afe28330dad7ad0a82b7dc9b277f027c8..55a8271a2c6eb547cc50503d0fcf24d4ac59c785 100644 --- a/src/scheme/PolynomialReconstruction.cpp +++ b/src/scheme/PolynomialReconstruction.cpp @@ -897,7 +897,7 @@ PolynomialReconstruction::_build( } parallel_for( - mesh.numberOfCells(), PUGS_LAMBDA(const CellId cell_j_id) { + mesh.numberOfCells(), PUGS_CLASS_LAMBDA(const CellId cell_j_id) { if (cell_is_owned[cell_j_id]) { const int32_t t = tokens.acquire();