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

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

[Octave-bug-tracker] [bug #58830] Odd error on size(foo,end)


From: anonymous
Subject: [Octave-bug-tracker] [bug #58830] Odd error on size(foo,end)
Date: Sun, 26 Jul 2020 09:50:14 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

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

                 Summary: Odd error on size(foo,end)
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sun 26 Jul 2020 01:50:12 PM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I made a typo and accidentally typed size(foo,end) instead of size(foo)(end).
I got an odd error with a weird value. This doesn't affect anything but is
being reported in case it's a symptom of something deeper. If it's safe to
ignore, please disregard it.


octave:60> size(arr)
ans =
     2     2     2     2   168

octave:61> size(arr)(end)
ans = 168
octave:62> size(arr,end)
error: size: requested dimension DIM (= -9223372036854775808) out of range


This is on GNU Octave Version: 7.0.0 (hg id: a61b651914d6) on 64-bit Linux.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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