summaryrefslogtreecommitdiffstats
path: root/generic/tkbltGrElemLine.C
diff options
context:
space:
mode:
authorAdrián Medraño Calvo <adrian@medranocalvo.com>2018-07-13 11:24:32 (GMT)
committerAdrián Medraño Calvo <adrian@medranocalvo.com>2018-07-13 11:24:32 (GMT)
commitf4f7bb6aaad924ee83d7cc6b5b90c7c89083b698 (patch)
tree0697daecd7a74acd5cfc8da737177ee67d23154d /generic/tkbltGrElemLine.C
parent061316ced72f9e6bc09e36e8fb42b41465e953ce (diff)
downloadblt-f4f7bb6aaad924ee83d7cc6b5b90c7c89083b698.zip
blt-f4f7bb6aaad924ee83d7cc6b5b90c7c89083b698.tar.gz
blt-f4f7bb6aaad924ee83d7cc6b5b90c7c89083b698.tar.bz2
Expand scale range to be at least DBL_EPSILON
A very small data range (from zero to a small floating point subnormal) caused nTicks to be excessively big, ending up in a request for a huge memory allocation for the axis. This commit limits the number of ticks and the scale range to values less than the floating point epsilon.
Diffstat (limited to 'generic/tkbltGrElemLine.C')
0 files changed, 0 insertions, 0 deletions