Math: Fix typo in Matrix->subtract() name

This commit is contained in:
Dylan K. Taylor 2018-02-14 18:22:37 +00:00
parent 3aef4c5a09
commit 0b82d5c8d4

View File

@ -103,7 +103,7 @@ class Matrix implements \ArrayAccess{
return $result;
}
public function substract(Matrix $matrix){
public function subtract(Matrix $matrix){
if($this->rows !== $matrix->getRows() or $this->columns !== $matrix->getColumns()){
return false;
}