From bf55448791f86c0855f6ebebb5665fa7604f8fa0 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 19 Jan 2024 10:32:18 -0700 Subject: [PATCH] Use p[index] instead of p(index) for class Point in one source file. --- include/deal.II/lac/matrix_out.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/deal.II/lac/matrix_out.h b/include/deal.II/lac/matrix_out.h index f3a1c2918d..236c947cc1 100644 --- a/include/deal.II/lac/matrix_out.h +++ b/include/deal.II/lac/matrix_out.h @@ -359,14 +359,14 @@ MatrixOut::build_patches(const Matrix &matrix, // matrix, rather than perpendicular to it. this has the advantage that, // for example, the unit matrix is plotted as a straight ridge, rather // than as a series of bumps and valleys along the diagonal - patches[index].vertices[0](0) = j; - patches[index].vertices[0](1) = -static_cast(i); - patches[index].vertices[1](0) = j; - patches[index].vertices[1](1) = -static_cast(i + 1); - patches[index].vertices[2](0) = j + 1; - patches[index].vertices[2](1) = -static_cast(i); - patches[index].vertices[3](0) = j + 1; - patches[index].vertices[3](1) = -static_cast(i + 1); + patches[index].vertices[0][0] = j; + patches[index].vertices[0][1] = -static_cast(i); + patches[index].vertices[1][0] = j; + patches[index].vertices[1][1] = -static_cast(i + 1); + patches[index].vertices[2][0] = j + 1; + patches[index].vertices[2][1] = -static_cast(i); + patches[index].vertices[3][0] = j + 1; + patches[index].vertices[3][1] = -static_cast(i + 1); // next scale all the patch // coordinates by the block // size, to get original -- 2.39.5