The triu function returns a zero matrix when called with two arguments. The reason seems to be that the second argument $n$ is overriden in the function by a call to size...
Log in to post a comment.