From c24df30e6826f1eca6444681c09723198bc675b7 Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Thu, 9 Jan 2014 20:53:42 +0100 Subject: [PATCH] White space editing in booleanmatrix.h --- include/libstick-0.1/booleanmatrix.h | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/include/libstick-0.1/booleanmatrix.h b/include/libstick-0.1/booleanmatrix.h index 2b64a4e..d98e7b5 100644 --- a/include/libstick-0.1/booleanmatrix.h +++ b/include/libstick-0.1/booleanmatrix.h @@ -47,7 +47,8 @@ class boolean_colmatrix_base { return cols.size(); } - /** Get height of the matrix, i.e. maximum row-index + 1 among all columns. */ + /** Get height of the matrix, i.e. maximum row-index + 1 among all + * columns. */ size_t height() const { IT h = 0; for (unsigned c=0; c < width(); ++c) @@ -68,7 +69,8 @@ class boolean_colmatrix_base { get_derived()->_set(r, c, value); } - /** For each of the 'count'-many (row-index, column-pair) pair in 'indices', set the specific value. */ + /** For each of the 'count'-many (row-index, column-pair) pair in + * 'indices', set the specific value. */ void set_all(index_type indices[][2], size_t count, bool value) { for (unsigned i=0; i < count; ++i) set(indices[i][0], indices[i][1], value); @@ -257,7 +259,8 @@ class boolean_rowmatrix_base { get_derived()->_set(r, c, value); } - /** For each of the 'count'-many (row-index, column-pair) pair in 'indices', set the specific value. */ + /** For each of the 'count'-many (row-index, column-pair) pair in + * 'indices', set the specific value. */ void set_all(index_type indices[][2], size_t count, bool value) { for (unsigned i=0; i < count; ++i) set(indices[i][0], indices[i][1], value); @@ -410,7 +413,8 @@ class boolean_colrowmatrix : public boolean_colmatrix_base void multiply_matrix(RT &result, const boolean_rowmatrix_base &a, const boolean_colmatrix_base &b) { assert(a.height() == b.width()); -- 2.30.2