Skip to content

Commit 74ef188

Browse files
committed
Modificacion de un error en CacheSolve
Daba error porque faltaba un parentesis
1 parent 5e8a513 commit 74ef188

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cachematrix.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ cacheSolve <- function(x, ...) {
3030
m <- x$getinverse()
3131
if(!is.null(m)){
3232
message("getting cached data")
33-
return m
33+
return(m)
3434
}
3535
data <- x$get()
3636
m <- solve(data, ...)

0 commit comments

Comments
 (0)