summaryrefslogtreecommitdiff
path: root/META-INF
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2013-11-11 14:20:16 +0100
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2013-12-29 17:14:37 +0200
commit4b6a0a999e935a94501da272a12956c024141cb2 (patch)
tree5ca61d3ea3160baeab2dbf07b30cbb5e5eb1b3ba /META-INF
parent6834cc2278ad522e49493b624da95bfa00af1604 (diff)
downloadscala-4b6a0a999e935a94501da272a12956c024141cb2.tar.gz
scala-4b6a0a999e935a94501da272a12956c024141cb2.tar.bz2
scala-4b6a0a999e935a94501da272a12956c024141cb2.zip
SI-7443 Use typeclass instance for {Range,NumericRange}.sum
Previously both Range and NumeriRange used formula for sum of elements of arithmetic series and thus always assumed that provided Numeric is regular one. Bug is now fixed by conservatively checking if Numeric is one of default ones and the formula still holds.
Diffstat (limited to 'META-INF')
0 files changed, 0 insertions, 0 deletions