logo       

Re: bug in imshow with all negative values: msg#00058

gnu.octave.bugs

Subject: Re: bug in imshow with all negative values

On 3-Apr-2005, Stefan van der Walt wrote:

| Here's the new patch.
|
| I added the function __im_numeric_limits to imshow.m. This can be
| replaced with 'numeric_limits' once it is done. I only made use of
| the 'max' attribute.

Thanks, I applied your patch.

I will have to give some more thought to a built-in numeric_limits
function. I had hoped to be able to dispatch to the individual
octave_value classes, but then I realized that class names are not
unique, so it might cause some trouble. Using the name returned by
typeinfo would solve the problem, but I'm not sure that's what we want
either.

jwe



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise