octave-maintainers
[Top][All Lists]
Advanced

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

Re: str2double patch


From: Rik
Subject: Re: str2double patch
Date: Mon, 06 Jun 2011 15:34:50 -0700

6/6/11

Attached is a patch for str2double.cc which returns NaN for invalid inputs
rather than griping about the type being incorrect.  There's no trick here.
 The code now parses through each element of input cell arrays and if the
type is a string it converts them, but otherwise returns NaN.

Please review.  If there are no comments I will commit the patch in a few days.

--Rik

Attachment: str2double.patch
Description: Text Data


reply via email to

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