bug in jit.dimop @op avg


    Jan 14 2015 | 9:35 pm
    I may not grok the use of [jit.dimop @op avg] but it appears to be broken. At the moment it produces results that I have a hard time understanding, while other operators appear to work fine. Patcher illustrating this below.

    • Jan 22 2015 | 8:45 pm
      thanks for the report. we'll get it fixed up.
    • Jan 22 2015 | 8:47 pm
      if you need this working in the meantime, use a float64 type matrix.
    • Jan 23 2015 | 4:27 pm
      Thanks Rob.
      Interestingly, changing the same example to float64 does fix the bug with @op avg, but the + operator does not work as expected.
    • Jan 23 2015 | 8:00 pm
      aww jeez, thanks for catching this. now also be fixed in the next update.