error: invalid conversion from NaN to logical

Bug #787412 reported by Sebastian Rühl
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
octave-vrml (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: octave-vrml

octave:8> s1 = vrml_cyl (xx1, "col",k)
error: invalid conversion from NaN to logical
error: called from:
error: /usr/share/octave/packages/3.2/vrml-1.0.11/vrml_material.m at line 45, column 1
error: /usr/share/octave/packages/3.2/vrml-1.0.11/vrml_cyl.m at line 99, column 12

also can be reproduced by running /usr/share/octave/packages/3.2/vrml-1.0.11/vrml_demo_tutorial_4.m.

Can be fixed by changing

 if tran && !isnan (tran)

to

 if !isnan (tran) && tran

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: octave-vrml 1.0.11-1 [modified: usr/share/octave/packages/3.2/vrml-1.0.11/vrml_material.m]
ProcVersionSignature: Ubuntu 2.6.38-9.43-generic 2.6.38.4
Uname: Linux 2.6.38-9-generic x86_64
Architecture: amd64
CheckboxSubmission: 2892cad67f71a4db0df94c8bed57c940
CheckboxSystem: bb422ca46d02494cdbc459927a98bc2f
Date: Tue May 24 10:43:44 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=de_DE:en
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: octave-vrml
UpgradeStatus: Upgraded to natty on 2011-04-14 (39 days ago)

Revision history for this message
Sebastian Rühl (sebastian-ruehl) wrote :
Revision history for this message
Mike Miller (mtmiller) wrote :

Thanks for your bug report. Unfortunately there is not enough information here for a developer to be able to reproduce this bug. Can you provide a complete example including data files needed to run an example Octave script that shows the error? The "vrml_demo_tutorial_4" command works fine for me in a recent version of Octave.

Changed in octave-vrml (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for octave-vrml (Ubuntu) because there has been no activity for 60 days.]

Changed in octave-vrml (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.