orientechnologies/orientdb — pull request #2625 by fabriziofortino (2014-07-26 13:05:35+00:00)
Title: avg function: small refactoring to improve code reuse and fix possible

ArithmeticException on non distributed executions (see #2597)