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

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

[Octave-bug-tracker] [bug #29861] Segmentation fault with surfc


From: Rik
Subject: [Octave-bug-tracker] [bug #29861] Segmentation fault with surfc
Date: Wed, 12 May 2010 18:53:23 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100402 Ubuntu/9.10 (karmic) Firefox/3.5.9

Follow-up Comment #2, bug #29861 (project octave):

I've attached a patch which follows your line of coding (ensure Z is a
matrix) but piggybacks on the existing argument validations.  The original
author (you?) has checks on Z but the issue is that ismatrix returns true for
both scalars and vectors.  To truly find a garden variety 2-D matrix one has
to ask if it is a matrix and at the same time not one of its subclasses such
as scalar or vector.  

If this is acceptable I can work it up to a complete patch.

(file #20525)
    _______________________________________________________

Additional Item Attachment:

File name: surface.m.diff                 Size:0 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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