From 1b96816bd393e55eb22c516036801b5fed302689 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Fri, 9 May 2014 13:13:18 +1000 Subject: [PATCH] matrix: debug build fix for braces and defines --- test/matrix.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/matrix.cpp b/test/matrix.cpp index 0cfbfaee..30108e13 100644 --- a/test/matrix.cpp +++ b/test/matrix.cpp @@ -43,10 +43,11 @@ test_identity (const matrix &m) { for (unsigned int i = 0; i < m.rows (); ++i) for (unsigned int j = 0; j < m.columns (); ++j) - if (i == j) + if (i == j) { CHECK_HARD (almost_equal (m[i][j], 1.0)); - else + } else { CHECK_HARD (almost_equal (m[i][j], 0.0)); + } }