Skip to content

Commit bd8e1f0

Browse files
committed
Add missing ... to params
1 parent 47ec369 commit bd8e1f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cachematrix.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ cacheSolve <- function(x, ...) {
5050
}
5151

5252
# otherwise, compute the inverse and store in cache
53-
computedInverse <- solve(x$get())
53+
computedInverse <- solve(x$get(), ...)
5454

5555
# store computed value in cache
5656
x$setinverse(computedInverse)
@@ -114,4 +114,4 @@ cachedMatrix <- function(x = matrix()) {
114114
# the public API now does not expose setinverse as it is handled internally
115115
list(set = set, get = get,
116116
getinverse = getinverse)
117-
}
117+
}

0 commit comments

Comments
 (0)