Have a look at line 10. What happens when either n or m reference the last vector index?
Ancient Dragon commented: good :) +14
cambalinho commented: thanks for all +2
cambalinho commented: thanks +0
sepp2k commented: Seems like I missed the point of the question. +6