jit.gen compilation errors (1102 and 396)

Feb 15, 2014 at 1:15pm

jit.gen compilation errors (1102 and 396)

Hello,

I’ve got some compilation problems with jit.gen:
1) I try to make a for loop into an array (vec in gen) using swiz, but it doesn’t compile :
gen_domain: jit.gen: [string "gen2.Module"]:1102: attempt to index local ‘constants’ (a nil value)
maybe it is not possible to use swiz like this in a for loop; is there another way to do that? (see first jit.gen in the patch below).

2)another exemple with compilation error, I really dont understand why it doesn’t work (2nd jit.gen in the patch below):
gen_domain: jit.gen: [string "gen2.jit.Model"]:396: assertion failed!

Does someone have a explanation or a trick to do such stuff?

Jean-Michel

<code>

– Pasted Max Patch, click to expand. –

</code>

#281216
Feb 19, 2014 at 9:17am

Hi,

Thanks for the report – this is in fact a bug in jit.gen and it has been ticketed for engineering attention

Sorry for the inconvenience

Cheers
-A

#281578

You must be logged in to reply to this topic.