Also apply math fix for overhead

This commit is contained in:
Markus Schirp 2013-06-22 00:43:13 +02:00
parent 989e3277b4
commit 8c9411cfba

View file

@ -131,7 +131,8 @@ module Mutant
# @api private # @api private
# #
def overhead def overhead
(runtime - killtime) / runtime * 100 return if runtime.zero?
Rational(runtime - killtime, runtime) * 100
end end
# Return runtime # Return runtime