Skip to content

Commit 5f067d7

Browse files
author
DF
committed
spaces and typo
Fixing spaces to keep consistency and typo
1 parent f07faae commit 5f067d7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cachematrix.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## Put comments here that give an overall description of what your
22
## functions do
33
## For costly computation sometimes there's benefit caching the functions.
4-
## The purpose of the functions below is to cache the inverse of a matrix rathen than compute it repeatedly.
4+
## The purpose of the functions below is to cache the inverse of a matrix rather than compute it repeatedly.
55

66
## Write a short comment describing this function
77
## Creates a special "matrix" object that can cache its inverse
@@ -21,9 +21,9 @@ makeCacheMatrix <- function(x = matrix()) {
2121

2222

2323
## Write a short comment describing this function
24-
##Computes the inverse of the special "matrix" returned by makeCacheMatrix above.
25-
##If the inverse has already been calculated (and the matrix has not changed),
26-
##then the cachesolve should retrieve the inverse from the cache
24+
## Computes the inverse of the special "matrix" returned by makeCacheMatrix above.
25+
## If the inverse has already been calculated (and the matrix has not changed),
26+
## then the cachesolve should retrieve the inverse from the cache
2727
cacheSolve <- function(x, ...) {
2828
## Return a matrix that is the inverse of 'x'
2929
m <- x$getinverse()

0 commit comments

Comments
 (0)