![]() |
Blitz Support : |
From: Faheem Mitha (faheem_at_[hidden])
Date: 2005-05-28 17:25:27
Hi,
Blitz seems to be unhappy with the
a=0;
line. However, this is documented in the manual, in 2.1.1.
There is only a problem when using the BZ_DEBUG. What am I doing wrong, if anything?
Thanks in advance. Faheem.
g++ -DBZ_DEBUG cmass3d.C
/tmp/ccXl3zWb.o(.gnu.linkonce.t._ZN5blitz5ArrayIdLi3EE8evaluateINS_13_bz_ArrayExprINS_21_bz_ArrayExprConstantIdEEEENS_10_bz_updateIddEEEERS1_T_T0_+0x2b):
In function `blitz::Array<double, (int)3>& blitz::Array<double,
(int)3>::evaluate<blitz::_bz_ArrayExpr<blitz::_bz_ArrayExprConstant<double>
>, blitz::_bz_update<double, double>
>(blitz::_bz_ArrayExpr<blitz::_bz_ArrayExprConstant<double> >,
blitz::_bz_update<double, double>)':
: undefined reference to `blitz::assertFailMode'
collect2: ld returned 1 exit status
***********************
cmass3d.C
***********************
#include <blitz/array.h>
int main(void)
{
blitz::Array<double, 3> a(3,4,5);
a = 0;
return 0;
}
**********************