We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 495625b commit cffa97eCopy full SHA for cffa97e
cachematrix.R
@@ -6,7 +6,7 @@
6
makeCacheMatrix <- function(original.matrix = matrix()) {
7
8
if (!is.matrix(original.matrix)) {
9
- stop("Please give a matrix")
+ stop("Please give me a matrix")
10
}
11
12
inverted.matrix <- NULL
@@ -39,7 +39,7 @@ cacheSolve <- function(cacheable.matrix, ...) {
39
inverted.matrix <- cacheable.matrix$get.inverse()
40
41
if(!is.null(inverted.matrix)) {
42
- message("Getting cached inverse matrix")
+ message("Getting cached inverted matrix...")
43
return(inverted.matrix)
44
45
@@ -58,7 +58,7 @@ cacheSolve <- function(cacheable.matrix, ...) {
58
# [2,] 1 0
59
#
60
# cacheSolve(c)
61
-# getting cached vector..
+# Getting cached inverted matrix...
62
# [,1] [,2]
63
# [1,] 0 1
64
0 commit comments