Blitz logo

Blitz Bugs :

From: Malte Thoma (thoma_at_[hidden])
Date: 2003-01-30 09:59:31


Hallo,

why does the following code not link, if compiled with -DBZ_DEBUG ???

I think it would be VERY good if it does, because otherwise the
compileoption is not very usefull, is it?

Greeetings,

Malte

___________________________________________________________________________

#include <blitz/array.h>

typedef blitz::Array<double,1> MyArray1_t;

MyArray1_t get(const int d)
{
   MyArray1_t a(d);
   return a;
}

int main()
{
   const int d=3;
   MyArray1_t xk(d);
   xk=get(d);
}