Skip to content

Commit 89b0084

Browse files
author
Rexwell Minnis
committed
Updated functions
1 parent b709cf5 commit 89b0084

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎cachematrix.R‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
## This function creates a special "matrix" object that can cache its inverse.
55

6-
makeCacheMatrix <- function(my_x = matrix()) {
6+
makeVector <- function(my_x = matrix()) {
77
my_inv <- NULL
88
set <- function(x) {
99
my_x <<- x;
@@ -22,7 +22,7 @@ makeCacheMatrix <- function(my_x = matrix()) {
2222
## If the inverse has already been calculated (and the matrix has not changed), then the
2323
## cachesolve should retrieve the inverse from the cache.
2424

25-
cacheSolve <- function(x, ...) {
25+
cachemean <- function(x, ...) {
2626
my_inv <- x$getinv()
2727
if(!is.null(my_inv)) {
2828
message("Looking up data from cache")

0 commit comments

Comments
 (0)