Skip to content

Commit 7e244eb

Browse files
committed
Update cachematrix.R
1 parent 4aefb6c commit 7e244eb

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
@@ -44,7 +44,7 @@ cacheSolve <- function(x, ...) {
4444
# Inverse is NULL, so it has to be computed and updated to x
4545
message("Computing and caching the inverse")
4646
inverse <- solve(x$get())
47-
x$set_inverse(inverse)
47+
x$set_inverse(inverse, ...)
4848
}
4949
else {
5050
# Inverse is set, just have to return it (which is done at the end of the function)

0 commit comments

Comments
 (0)