Skip to content

Commit 5d44528

Browse files
committed
Correction one other typo
1 parent ba803d7 commit 5d44528

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cachematrix.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ if(!is.null(inv)) {
3232
return(inv)
3333
}
3434
data <- x$get()
35-
inv <- mean(data, ...)
35+
inv <- solve(data, ...)
3636
x$setinverse(inv)
3737
inv
3838
}

0 commit comments

Comments
 (0)