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 933a6d3 commit ac187f1Copy full SHA for ac187f1
cachematrix.R
@@ -1,5 +1,4 @@
1
-## Put comments here that give an overall description of what your
2
-## functions do
+# The functions below provide a way to cache matrix inversions
3
4
# This function creates a special matrix which is really
5
# a list containing a function to
@@ -27,7 +26,7 @@ makeCacheMatrix <- function(x = matrix()) {
27
26
# the computation if it finds one.
28
cacheSolve <- function(x, ...) {
29
## Return a matrix that is the inverse of 'x'
30
- inv <= x$getinverse()
+ inv <- x$getinverse()
31
if(!is.null(inv)) {
32
message("getting cached data!")
33
return(inv)
0 commit comments