octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #64688] VM machine has issues to cope with nes


From: anonymous
Subject: [Octave-bug-tracker] [bug #64688] VM machine has issues to cope with nested anonymous functions
Date: Mon, 18 Sep 2023 03:32:22 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?64688>

                 Summary: VM machine has issues to cope with nested anonymous
functions
                   Group: GNU Octave
               Submitter: None
               Submitted: Mon 18 Sep 2023 07:32:15 AM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: GNU/Linux
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Mon 18 Sep 2023 07:32:15 AM UTC By: Anonymous

function ret = test(left, right)
      f = @(y) 2 .* y;
      integ = @(in_left,in_right) quadgk (@(x)  f(x),  in_left, in_right);
      ret = integ(left, right);
endfunction


__compile__("test"); test(0.1,0.5)

warning: Auto-compilation of anonymous function failed with message VM error
2594: Internal VM compiler consistency check failed, m_map_locals_to_slot.find
(name) != m_map_locals_to_slot.end ()
warning: called from
    test at line 4 column 13

ans = 0.2400









    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64688>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]