From: Wolfgang Bangerth Date: Fri, 19 Jan 2024 17:32:18 +0000 (-0700) Subject: Use p[index] instead of p(index) for class Point in one source file. X-Git-Tag: relicensing~134^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf55448791f86c0855f6ebebb5665fa7604f8fa0;p=dealii.git Use p[index] instead of p(index) for class Point in one source file. --- 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