-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
https://gist.github.com/BitPuffin/10470877
The error happens when the compiler reaches https://gist.github.com/BitPuffin/10470877#file-matrix-nim-L383
Even though those procs return matrices the error I get:
vector.nim(7, 42) Error: ordinal type expected
suggests that it is treating them as vectors when clearly they are not.
So what I think is that it is mistaking matrix * with vector *, now the other interesting thing is, I noticed that I had when false'd *out, even when I added a dummy multiply proc (https://gist.github.com/BitPuffin/10470877#file-matrix-nim-L131) it STILL matched to the vector component by component *. So it wasn't like I initially thought, that it matched to it because there was no * for matrices.