From: fred Date: Thu, 6 Feb 1997 00:54:56 +0000 (+0000) Subject: flower-1.0.24 X-Git-Tag: release/1.5.59~6359 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=0ee75cb037f5fcbe84c57933da9a3b9a86ed15bc;p=lilypond.git flower-1.0.24 --- diff --git a/flower/Variables.make b/flower/Variables.make index 67d1863f27..ea51570ce7 100644 --- a/flower/Variables.make +++ b/flower/Variables.make @@ -1,6 +1,6 @@ MAJVER=1 MINVER=0 -PATCHLEVEL=23 +PATCHLEVEL=24 PACKAGENAME=flower #PROFILEFLAG=-pg diff --git a/flower/matdebug.cc b/flower/matdebug.cc index 1c3df9dda1..7aec81909f 100644 --- a/flower/matdebug.cc +++ b/flower/matdebug.cc @@ -35,7 +35,7 @@ Matrix::print() const Vector::operator String() const { String s("vector ["); -#ifndef NDEBUG +#ifndef NPRINT for (int i=0; i < dim(); i++) { s += String(dat[i], "%6f") + ' '; } diff --git a/flower/vector.cc b/flower/vector.cc index bb3008ee5e..5cc76bfd7b 100644 --- a/flower/vector.cc +++ b/flower/vector.cc @@ -1,7 +1,11 @@ #include "vector.hh" - +Vector::Vector(Array d) + : dat(d) +{ + +} Vector::Vector(const Vector&n) - :dat(n.dat) + : dat(n.dat) { } diff --git a/flower/vector.hh b/flower/vector.hh index 2fdf41482a..c039d5ce89 100644 --- a/flower/vector.hh +++ b/flower/vector.hh @@ -16,6 +16,7 @@ public: void OK() const { dat.OK();} int dim() const { return dat.size(); } Vector() { } + Vector(Array d ); Vector(const Vector&n); Vector(int n) { dat.set_size(n);