summaryrefslogtreecommitdiff
path: root/flower/matdebug.cc
diff options
context:
space:
mode:
Diffstat (limited to 'flower/matdebug.cc')
-rw-r--r--flower/matdebug.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/flower/matdebug.cc b/flower/matdebug.cc
index 5a31312386..1c3df9dda1 100644
--- a/flower/matdebug.cc
+++ b/flower/matdebug.cc
@@ -34,10 +34,9 @@ Matrix::print() const
Vector::operator String() const
{
- int i=0;
String s("vector [");
#ifndef NDEBUG
- for (; i < dim(); i++) {
+ for (int i=0; i < dim(); i++) {
s += String(dat[i], "%6f") + ' ';
}
#endif