File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ makeCacheMatrix <- function(x = matrix()) {
19
19
}
20
20
# # The getter function of the matrix
21
21
get <- function () x
22
- # # The setter funcction of the inverse of the matrix
22
+ # # The setter function of the inverse of the matrix
23
23
setinv <- function ( invv ) inv <<- invv
24
24
# # The getter function of the inverse of the matrix
25
25
getinv <- function () inv
@@ -44,6 +44,6 @@ cacheSolve <- function(x, ...) {
44
44
} # # Else get the data...
45
45
data <- x $ get()
46
46
inv <- solve( data , ... ) # # ... compute its inverse ...
47
- x $ setinv( inv ) # # ... set the inverse in x's cache, and...
48
- inv # # ... return the computed inverse.
47
+ x $ setinv( inv ) # # ... set the inverse in x's cache, and...
48
+ inv # # ... return the computed inverse.
49
49
}
You can’t perform that action at this time.
0 commit comments