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

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

[Octave-bug-tracker] [bug #44981] strcat: allow call with empty argument


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #44981] strcat: allow call with empty argument list
Date: Fri, 01 May 2015 15:03:18 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Firefox/31.0

URL:
  <http://savannah.gnu.org/bugs/?44981>

                 Summary: strcat: allow call with empty argument list
                 Project: GNU Octave
            Submitted by: mtmiller
            Submitted on: Fri 01 May 2015 11:03:16 AM EDT
                Category: Octave Function
                Severity: 1 - Wish
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: Postponed
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

As noted in bug #44978, horzcat and vertcat both allow empty argument lists
and return an empty matrix. Shouldn't strcat do the same?

This change will technically make strcat Matlab incompatible (in that it
doesn't throw an error) but I think we've agreed that it's ok in general for
Octave to do something different when it's fed something that would be an
error in Matlab.

This should be an easy fix, but let's see if there are any strong opinions
about whether this should be done or not.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44981>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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