Skip to content

Commit 0f5415b

Browse files
committed
Tidying and removing calling code
1 parent 5f8e040 commit 0f5415b

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

cachematrix.R

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,4 @@ cacheSolve <- function(x, ...) {
3838
# And sets the inverse on the makeCacheMatrix container
3939
x$setinverse(inverse)
4040
inverse
41-
}
42-
mat = matrix(c(4,3,3,2), 2)
43-
print(mat)
44-
cacheMat = makeCacheMatrix(mat)
45-
inverseMat = cacheSolve(cacheMat)
46-
inverseMat = cacheSolve(cacheMat)
47-
print(inverseMat)
41+
}

0 commit comments

Comments
 (0)