Skip to content

Commit cffa97e

Browse files
committed
Minor change
1 parent 495625b commit cffa97e

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
@@ -6,7 +6,7 @@
66
makeCacheMatrix <- function(original.matrix = matrix()) {
77

88
if (!is.matrix(original.matrix)) {
9-
stop("Please give a matrix")
9+
stop("Please give me a matrix")
1010
}
1111

1212
inverted.matrix <- NULL
@@ -39,7 +39,7 @@ cacheSolve <- function(cacheable.matrix, ...) {
3939
inverted.matrix <- cacheable.matrix$get.inverse()
4040

4141
if(!is.null(inverted.matrix)) {
42-
message("Getting cached inverse matrix")
42+
message("Getting cached inverted matrix...")
4343
return(inverted.matrix)
4444
}
4545

@@ -58,7 +58,7 @@ cacheSolve <- function(cacheable.matrix, ...) {
5858
# [2,] 1 0
5959
#
6060
# cacheSolve(c)
61-
# getting cached vector..
61+
# Getting cached inverted matrix...
6262
# [,1] [,2]
6363
# [1,] 0 1
6464
# [2,] 1 0

0 commit comments

Comments
 (0)