bugGNU Octave - Bugs: bug #48725, Octave deblank cannot accept empty...

 
 

bug #48725: Octave deblank cannot accept empty result

Submitted by:  Ken Tsui <kentsui>
Submitted on:  Tue 09 Aug 2016 02:26:23 AM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: FixedAssigned to: Kai Torben Ohlhus <siko1056>
Originator Name: KTOpen/Closed: Closed
Release: 4.0.3Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 10 Aug 2016 08:34:46 AM UTC, comment #1:

I pushed a fix for the next release of Octave http://hg.savannah.gnu.org/hgweb/octave/rev/54dc5062879e .

Kai Torben Ohlhus <siko1056>
Project MemberIn charge of this item.
Tue 09 Aug 2016 02:26:23 AM UTC, original submission:

If an empty array is inputted into the deblank function, it will return "deblank: S argument must be a string or cellstring" while Matlab will return back the empty array.

Example of the error:

Proposal:
Modify "C:\Octave\Octave-4.0.3\share\octave\4.0.3\m\strings\deblank.m" as follows.

Ken Tsui <kentsui>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by siko1056 (Updated the item)
  • -unavailable- added by kentsui (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 10 Aug 2016 08:34:46 AM UTCsiko1056StatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
    Wed 10 Aug 2016 07:12:17 AM UTCsiko1056CategoryNone=>Octave Function
      StatusConfirmed=>In Progress
      Assigned toNone=>siko1056
    Tue 09 Aug 2016 11:04:11 AM UTCsiko1056StatusNone=>Confirmed
      Operating SystemMicrosoft Windows=>Any

    Back to the top


    Powered by Savane 3.1-cleanup1