We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47ec369 commit bd8e1f0Copy full SHA for bd8e1f0
cachematrix.R
@@ -50,7 +50,7 @@ cacheSolve <- function(x, ...) {
50
}
51
52
# otherwise, compute the inverse and store in cache
53
- computedInverse <- solve(x$get())
+ computedInverse <- solve(x$get(), ...)
54
55
# store computed value in cache
56
x$setinverse(computedInverse)
@@ -114,4 +114,4 @@ cachedMatrix <- function(x = matrix()) {
114
# the public API now does not expose setinverse as it is handled internally
115
list(set = set, get = get,
116
getinverse = getinverse)
117
-}
+}
0 commit comments