Skip to content

Commit b4b3ad6

Browse files
committed
Allow extra arguments to "solve"
1 parent 894cec5 commit b4b3ad6

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
@@ -54,7 +54,7 @@ cacheSolve <- function(x, ...) {
5454
return(inv)
5555
}
5656
data <- x$get()
57-
inv <- solve(data)
57+
inv <- solve(data, ...)
5858
x$setinverse(inv)
5959
inv
6060
}

0 commit comments

Comments
 (0)