Re: Embedded AI
Posted: Sun Jul 26, 2026 5:14 am
The type of 'w' looks to be incorrect.
It would need to be a 2 dimensional array of floats for the code to compile. for example.
I would guess it is just an array and you are attempting to pass a single element to calculate.
is a float not an array. (An oddity in the forum code - displayed as just 'w' if not on a code block) - if this is the case the parameter would need to be w.
Please attach your code demonstrating errors like this (full editor attachments or drag and drop to the full editor window) as we can only guess what is happening without seeing the full code.
Martin
Martin
It would need to be a 2 dimensional array of floats for the code to compile.
Code: Select all
Float w[10][10]I would guess it is just an array and you are attempting to pass a single element to calculate.
Code: Select all
Float w[10] - w[i] Code: Select all
w[i]Please attach your code demonstrating errors like this (full editor attachments or drag and drop to the full editor window) as we can only guess what is happening without seeing the full code.
Martin
Martin