File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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." )
You can’t perform that action at this time.
0 commit comments