bugGNU Octave - Bugs: bug #32546, strchr triggers Octave:str-to-num

 
 

bug #32546: strchr triggers Octave:str-to-num

Submitted by:  Thomas Weber <tweber>
Submitted on:  Sun 20 Feb 2011 06:15:49 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Thomas WeberOpen/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 24 Feb 2011 07:12:31 AM UTC, comment #1:

I checked in the following changeset:

http://hg.savannah.gnu.org/hgweb/octave/rev/26d3164fd58d

This seems to fix the problem for me, so I'm closing this report.

John W. Eaton <jwe>
Project Administrator
Sun 20 Feb 2011 06:15:49 PM UTC, original submission:

Hi,
I'm forwarding a bug report from Kim Hansen, originally filed in Debian, http://bugs.debian.org/603046

The bug still appears on current tip, e4dbfe3019b1.

octave:1> warning error Octave:str-to-num
octave:2> strchr("Octave is the best software","software")
error: implicit conversion from string to real N-d array
error: type conversion failed for binary operator `+'
error: evaluating argument list element number 1
error: invalid empty index list
error: called from:
error: /root/sources/vcs/mercurial/octave-603046/scripts/strings/strchr.m at line 49, column 18

Thanks
Thomas

Thomas Weber <tweber>

 

(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 jwe (Posted a comment)
  • -unavailable- added by tweber (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 24 Feb 2011 07:12:31 AM UTCjweStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1