Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ad3f187

Browse files
committed
modified cacheSolve function
1 parent 7f657dd commit ad3f187

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cachematrix.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ makeCacheMatrix <- function(x = matrix()) {
1212

1313
cacheSolve <- function(x, ...) {
1414
## Return a matrix that is the inverse of 'x'
15+
solve(x)
1516
}

0 commit comments

Comments
 (0)