|
 |
The docs show:
#declare foo2 = function {
spline {
linear_spline
0.0, <0,0,0>
0.5, <1,0,0>
1.0, <0,0,0>
}
}
#declare myvector2 = foo2(0.7);
I am testing code that has:
#declare SPL2_PX = spline{
linear_spline
#for(S_K, 0, S_NSites2D-1)
S_K, A1D_V_P2D[S_K].x,
#end
}
#declare S_PX2 = function {SPL2_PX}
Parse Error: Expected 'operand', spline identifier found instead
Unless I'm doing something wrong. Which is rather often the case.
- BE
Post a reply to this message
|
 |