Skip to content

Commit bcd1055

Browse files
committed
Update cachematrix.R
pass arguments to solve
1 parent 5388602 commit bcd1055

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
@@ -30,7 +30,7 @@ cacheSolve <- function(x, ...) {
3030
if (!is.null(inv)) {
3131
return(inv)
3232
}
33-
inv <- solve(x$get())
33+
inv <- solve(x$get(), ...)
3434
x$setinverse(inv)
3535
inv
3636
}

0 commit comments

Comments
 (0)