diff options
author | Karl Berry <karl@freefriends.org> | 2017-03-07 18:10:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-03-07 18:10:02 +0000 |
commit | a6dc131e8a2ff8ce660543a262d771380fdf1b4e (patch) | |
tree | 33ab70fd89ae0842cedcfce676aaa6d64a9eb7dc /Build/source/utils/asymptote/base/graph.asy | |
parent | 78cc0e8d7d1977f9cf5c8c9ba3d9de81ed6e03a3 (diff) |
asy 2.40 sources
git-svn-id: svn://tug.org/texlive/trunk@43422 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/base/graph.asy')
-rw-r--r-- | Build/source/utils/asymptote/base/graph.asy | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/base/graph.asy b/Build/source/utils/asymptote/base/graph.asy index c50a7a67b2c..7498ce8bfdd 100644 --- a/Build/source/utils/asymptote/base/graph.asy +++ b/Build/source/utils/asymptote/base/graph.asy @@ -657,6 +657,7 @@ tickvalues generateticks(int sign, Label F="", ticklabel ticklabel=null, } if(calcStep) { + if(N == 1) N=2; if(N == 0) N=(int) (len/Step); else Step=len/N; } |