jit.op initialization delay??
i am sending a matrix in the right input of jit.op then immediately following that with a matrix in the left inlet triggering the operation to execute, i have been running into a problem with jit.op not doing the calculation correctly the first time.
whenever i run my program a second time all the outputs are as expected.
the below patch illustrates what i am having trouble with, the first time you run the patch the output is not correct, but subsequent tries produce the correct results.
i understand it sounds like an initialization problem, but i am using triggers to ensure that i am sending a matrix to the right inlet before the left inlet.
any suggestions?
Not sure this answer is correct, and it is certainly not a solution. But it
seems that jit.op needs to know what kind of matrix it is dealing with
first, which is defined by something going into the left inlet, or with
arguments. This seems to work.
Christopher Overstreet
On 7/27/07 4:28 PM, "quin" wrote:
> max v2;
>
oh thanks, that makes sense