Skip to content

Commit aaa7673

Browse files
committed
code cleaned up.
1 parent 3bf0cff commit aaa7673

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cachematrix.R

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,13 @@ makeCacheMatrix <- function(mtx = matrix()) {
3636
}
3737

3838

39-
4039
# cacheSolve
4140
# looks for inverse of matrix in the cache, if not found, computes inverse and sets cache. Returns
4241
# inverse of the matrix.
4342

4443
cacheSolve <- function(x, ...) {
4544
inv <- x$getInverse()
4645
if(!is.null(inv)) {
47-
# message("getting cached data")
4846
return(inv)
4947
}
5048
mtx <- x$get()

0 commit comments

Comments
 (0)