You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[gmic] *** Error in ./+rep_random_subdivision_of_dimension_boundaries/ (file 'C:\Users\Miguel\user.gmic', line #67) *** Command 'eval': [instance(1,1,1,1,000002AF10CD46D0,non-shared)] gmic<float32>::[gmic_math_parser] gmic<float32>::eval(): Value accessor '[]': Specified image index is not a constant, in expression 'current_coordinates=I[#modifiable_array_ind,0]'.
A non-constant value will work for i[#value,index] though.
Or even just different consts per threads defined by begin_t().
The text was updated successfully, but these errors were encountered:
Yes, using copy is the right way.
The fact is that when you specify a non constant image index (so potentially variable), the math compiler cannot determine the spectrum of the associated image at compile time, and thus the size of the output vector.
As vector objects are static, their sizes must be known at compile time.
Right now, I have this code:
This leads to:
A non-constant value will work for
i[#value,index]
though.Or even just different consts per threads defined by begin_t().
The text was updated successfully, but these errors were encountered: