Fixes a bug introduced by the recent addition of an xRange
Wolfram Rittmeyer
Branch: RittmeyerW/holographlibrary:fix_wrong_maxX_value
Branch: danielnadeau/holographlibrary:master
Merged
Merged pull request
Merged in RittmeyerW/holographlibrary/fix_wrong_maxX_value (pull request #18)
Sorry, but my previous pull request contained a bug. Unless you set an xRange line graphs do not work any longer.
This pull request fixes that.
BTW: What I did in getMaxLimX() should also be applied to getMaxYLim(). But that would change the behaviour compared to previous versions, which is why I didn't add this change. If you want I can add it, though.