lib/numb/deficient.rb in numb-0.72.1 vs lib/numb/deficient.rb in numb-0.77.0

- old
+ new

@@ -9,10 +9,10 @@ # 8.deficient? #=> true # 27.deficient? #=> true # 6.deficient? #=> false # def deficient? - return false unless self > 0 + return false unless positive? σ < (2 * self) end alias :defective? :deficient? end