Skip to content

Commit dc68a3d

Browse files
committed
Typo, whitespace.
1 parent 318ab97 commit dc68a3d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cachematrix.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ makeCacheMatrix <- function(x = matrix()) {
1919
}
2020
## The getter function of the matrix
2121
get <- function() x
22-
## The setter funcction of the inverse of the matrix
22+
## The setter function of the inverse of the matrix
2323
setinv <- function( invv ) inv <<- invv
2424
## The getter function of the inverse of the matrix
2525
getinv <- function() inv
@@ -44,6 +44,6 @@ cacheSolve <- function(x, ...) {
4444
} ## Else get the data...
4545
data <- x$get()
4646
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.
4949
}

0 commit comments

Comments
 (0)