Skip to content

Commit

Permalink
Fix wrong argument name.
Browse files Browse the repository at this point in the history
  • Loading branch information
ktns committed Dec 19, 2014
1 parent 85e01da commit c0cfaf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nmatrix.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def **(n)
(2..n).each{ m *= self }
m
else
raise TypeError,"Illegal operation: NMatrix ** %s" % other.class
raise TypeError,"Illegal operation: NMatrix ** %s" % n.class
end
end

Expand Down

0 comments on commit c0cfaf9

Please sign in to comment.