lib/epitools/permutations.rb in epitools-0.4.34 vs lib/epitools/permutations.rb in epitools-0.4.35

- old
+ new

@@ -1,10 +1,10 @@ require 'epitools/basetypes' class Array - alias_method :multiply_without_permutations, :* + alias_method :mult, :"*" # # Overloaded * operator. # # Original behaviour: @@ -21,10 +21,10 @@ result << [self[a], other[b]] end end result else - send(:multiply_without_permutations, other) + send(:mult, other) end end # # Multiply the array by itself 'exponent'-times.