Skip to content

Commit 5f7e240

Browse files
author
John Douma
committed
Modified cacheSolve to pass in the additional args specified by the ellipsis
1 parent 816da26 commit 5f7e240

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cachematrix.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ cacheSolve <- function(x, ...) {
5252
}
5353

5454
mat = x$get()
55-
inv <- solve(mat)
55+
inv <- solve(mat, ...)
5656
x$setinverse(inv)
5757
inv
5858
}

0 commit comments

Comments
 (0)