]> git.donarmstrong.com Git - lilypond.git/commitdiff
flower-1.0.24
authorfred <fred>
Thu, 6 Feb 1997 00:54:56 +0000 (00:54 +0000)
committerfred <fred>
Thu, 6 Feb 1997 00:54:56 +0000 (00:54 +0000)
flower/Variables.make
flower/matdebug.cc
flower/vector.cc
flower/vector.hh

index 67d1863f279767b9665c8c999ff254830e5faa46..ea51570ce7daf04bdefeafa043568f28efd3c1a3 100644 (file)
@@ -1,6 +1,6 @@
 MAJVER=1
 MINVER=0
-PATCHLEVEL=23
+PATCHLEVEL=24
 PACKAGENAME=flower
 
 #PROFILEFLAG=-pg
index 1c3df9dda143ec206ae70163e8f337663d9ed966..7aec81909f6aec5f6bca08e65bdbc2a9916b6a9f 100644 (file)
@@ -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") + ' ';
     }
index bb3008ee5e902cd7318c028fc0bd8a2919d43879..5cc76bfd7b274e4f1046bde102d04ea6ca73938e 100644 (file)
@@ -1,7 +1,11 @@
 #include "vector.hh"
-
+Vector::Vector(Array<Real> d)
+       : dat(d)
+{
+}
 Vector::Vector(const Vector&n)
-          :dat(n.dat)
+    dat(n.dat)
 {
 }    
 
index 2fdf41482a68e52f4477e2a495c4c08ac57d1424..c039d5ce89276d024cf6d187b5b4e3122a633f76 100644 (file)
@@ -16,6 +16,7 @@ public:
     void OK() const { dat.OK();}
     int dim() const { return dat.size(); }
     Vector() { }
+    Vector(Array<Real> d );
     Vector(const Vector&n);
     Vector(int n) {
        dat.set_size(n);