Blitz logo

Blitz Support :

From: Patrik Jonsson (patrik_at_[hidden])
Date: 2004-12-18 00:32:22


Hi all,
I tried to perform this:

Array<TinyVector<double,3>,1> A(5);
A[0]=1,2,3,4,5;

but it doesn't work. If you try this, A(0) contains 1,2,3 and A(1) 4,5 and
whatever.

doing A[1]=1,2,3,4,5; means that A(0) will contain whatever, 1,2 and A(1)
3,4,5. It gets the first position right but then fails to stride
correctly. It's just with comma assignment, if I have another array that I
assign it works fine.

Cheers,

/Patrik