[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #36493] memory exhausted when plotting small n
From: |
Marco Caliari |
Subject: |
[Octave-bug-tracker] [bug #36493] memory exhausted when plotting small negative constant data with log scale |
Date: |
Fri, 25 May 2012 13:12:29 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 |
Follow-up Comment #2, bug #36493 (project octave):
Hi,
I think the problem is around line 5931 of graphics.cc. min_val should be
increased if negative and max_val decreased. Is it elegant something like
min_val *= (1-signum(min_val)/10);
max_val *= (1+signum(min_val)/10);
? Or, is it better an if-else solution?
Marco
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?36493>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/