[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #44864] lazy_index produces error with printf(
From: |
Martin Kunz |
Subject: |
[Octave-bug-tracker] [bug #44864] lazy_index produces error with printf("%i") |
Date: |
Fri, 17 Apr 2015 14:26:44 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0 |
URL:
<http://savannah.gnu.org/bugs/?44864>
Summary: lazy_index produces error with printf("%i")
Project: GNU Octave
Submitted by: mkunz
Submitted on: Fr 17 Apr 2015 14:26:44 GMT
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Regression
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.0.0-rc3
Operating System: Microsoft Windows
_______________________________________________________
Details:
Hi,
I stumbled upon a strange error which I could track to a line like this:
printf("%i ",find([true true]))
In Octave 3.8.2 the result is
1 2
as I would expect. In 4.0.0-rc3 I get
error: isnan: not defined for <unknown type>
error: isinf: not defined for <unknown type>
error: octave_base_value::double_value (): wrong type argument '<unknown
type>'
error: octave_base_value::double_value (): wrong type argument '<unknown
type>'
error: isnan: not defined for <unknown type>
error: isinf: not defined for <unknown type>
error: octave_base_value::double_value (): wrong type argument '<unknown
type>'
error: octave_base_value::double_value (): wrong type argument '<unknown
type>'
In both cases the type returned by find is lazy_index
>> typeinfo(find([true true]))
ans = lazy_index
but it seems that this type is not properly treated by printf in 4.0.0-rc3.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44864>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #44864] lazy_index produces error with printf("%i"),
Martin Kunz <=
- [Octave-bug-tracker] [bug #44864] lazy_index produces error with printf("%i"), Rik, 2015/04/17
- [Octave-bug-tracker] [bug #44864] lazy_index produces error with printf("%i"), Rik, 2015/04/17
- [Octave-bug-tracker] [bug #44864] lazy_index produces error with printf("%i"), John W. Eaton, 2015/04/25
- [Octave-bug-tracker] [bug #44864] lazy_index produces error with printf("%i"), Rik, 2015/04/25
- [Octave-bug-tracker] [bug #44864] lazy_index produces error with printf("%i"), John W. Eaton, 2015/04/25
- [Octave-bug-tracker] [bug #44864] lazy_index produces error with printf("%i"), John W. Eaton, 2015/04/25
- [Octave-bug-tracker] [bug #44864] lazy_index produces error with printf("%i"), Rik, 2015/04/25