Re: [math] ArithmeticUtils subAndCheck try catch

2015-12-19 Thread Gilles
On Fri, 18 Dec 2015 19:16:54 -0600, Ole Ersoy wrote: The (This is nit picky) ArithmeticUtils subAndCheck uses a message template that is meant for addition. Should it catch and rethrow the exception with a subtraction template? This is how the exception is thrown (Line 470): https://github.com

[math] ArithmeticUtils subAndCheck try catch

2015-12-18 Thread Ole Ersoy
The (This is nit picky) ArithmeticUtils subAndCheck uses a message template that is meant for addition. Should it catch and rethrow the exception with a subtraction template? This is how the exception is thrown (Line 470): https://github.com/apache/commons-math/blob/master/src/main/java/org/ap