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

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

[Octave-bug-tracker] [bug #58543] inline functions don't accept argument


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #58543] inline functions don't accept arguments on Windows
Date: Thu, 11 Jun 2020 09:48:14 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0

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

                 Summary: inline functions don't accept arguments on Windows
                 Project: GNU Octave
            Submitted by: mmuetzel
            Submitted on: Thu 11 Jun 2020 03:48:12 PM CEST
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 6.0.90
         Discussion Lock: Any
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Function handles created with the "inline" function cannot be called with
input arguments on Windows:

>> a = inline ("islogical (x)", "x")
a =

  <class inline>

>> a(0.1)
error: a(0.1): subscripts must be either integers 1 to (2^63)-1 or logicals
>> a('foo')
error: a(111): out of bound 1 (dimensions are 1x1)


Tested with hg id b659b7f085c6 (on the default branch).
I haven't tested with the stable branch. But I suspect it would be the same.

The same test works on Ubuntu using the same hg id.

It might be related to this change:
https://hg.savannah.gnu.org/hgweb/octave/rev/7a8c69c4eb55
convert obsolete octave_fcn_inline object to @inline class
author  John W. Eaton <jwe@octave.org>
date    Mon, 23 Mar 2020 15:29:49 -0400 (2 months ago)





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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