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

Skip to content

Commit 46a99b4

Browse files
committed
Fixing Comments
1 parent de13a33 commit 46a99b4

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

cachematrix.R

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
## Put comments here that give an overall description of what your
2-
## functions do
3-
41
## This function creates a special "matrix" object
52
## that can cache its inverse.
63
makeCacheMatrix <- function(x = matrix()) {
@@ -20,9 +17,9 @@ makeCacheMatrix <- function(x = matrix()) {
2017

2118

2219
## This function computes the inverse of the special
23-
##"matrix" returned by `makeCacheMatrix` above. If the inverse has
24-
##already been calculated (and the matrix has not changed), then
25-
##this function` retrieves the inverse from the cache.
20+
##"matrix" returned by the 'makeCacheMatrix' function. If the inverse has
21+
## already been calculated then this function retrieves the inverse from the cache.
22+
## else the functions computes the inverse and saves/set it in the cache
2623
cacheSolve <- function(x, ...) {
2724
## Return a matrix that is the inverse of 'x'
2825
inv <- x$getinverse()

0 commit comments

Comments
 (0)