Skip to content

Commit f55d775

Browse files
committed
edit file and commit from local machine
1 parent ff5341b commit f55d775

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
@@ -55,7 +55,7 @@ makeCacheMatrix <- function(x = matrix()) {
5555
## returned by makeCacheMatrix function. If the inverse has already
5656
## been calculated and the matrix has not changed, then this function
5757
## retrieve the inverse from cache.The parameter is checked if it is
58-
## a valid list object returned by makeCacheMatrix
58+
## a valid list object returned by makeCacheMatrix function
5959
##
6060
## @param: a list object, that is returned by makeCacheMatrix function
6161
## @return: returns the mean of the special matrix object
@@ -76,8 +76,8 @@ cacheSolve <- function(x, ...) {
7676
x$setInverse(invMatrix)
7777
return(invMatrix)
7878
} else {
79-
message("Matrix object of passed parameter is empty.")
80-
message("First set matrix value using 'set' function.")
79+
message("Matrix object of argument passed is empty.")
80+
message("First set matrix value using 'set' function.")
8181
}
8282
} else{
8383
message("Please pass a valid makeCacheMatrix object.")

0 commit comments

Comments
 (0)