Menu

#1802 user define function of round(x) needs y input connected

Backlog
open
nobody
None
4normal
2025-05-19
2025-05-19
No

A user define function of round(x) needs the y input connected to a value to function properly, but some times it does not function as expected with y input connected. See image and MP4 file.

3 Attachments

Discussion

  • JAMES SAULNIER

    JAMES SAULNIER - 2025-05-19
    • Attachments has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,2 @@
     UDF of round(x) not always working 2025-05-19 124141.mp4 (12.5 MB; video/mp4)
    +UDF with round(x) does not always round.jpg (67.9 kB; image/jpeg)
    
     
  • JAMES SAULNIER

    JAMES SAULNIER - 2025-05-19
    • Attachments has changed:

    Diff:

    --- old
    +++ new
    @@ -1,2 +1,3 @@
     UDF of round(x) not always working 2025-05-19 124141.mp4 (12.5 MB; video/mp4)
     UDF with round(x) does not always round.jpg (67.9 kB; image/jpeg)
    +experiment round 2025-05-19t12.mky (12.9 kB; application/octet-stream)
    
     
  • High Performance Coder

    I think what you're seeing here is that tensor valued inputs to UDFs are not working correctly ATM, which is covered with https://sourceforge.net/p/minsky/tickets/1800/. If you set the variable to a scalar value, rounding works correctly.

    So this ticket will probably end up being resolved dup, but I'll do some more tests when I get to fixing up the UDF functionality.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB