Skip to content

Commit 665f302

Browse files
committed
Fix typo.
1 parent 49652ec commit 665f302

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ If you need to combine together matrices, you can do so by calling the concatena
110110
- Drop deprecated functions and properties.
111111

112112
- 1.3.0
113+
- Fix typo in names of `concatenateRight()` and `concatenateBottom()`
113114
- Remove generated Phar file. Users who need it should use the `build-phar.php` script to generate one.
114115
- Refactor LUDecomposition to have a less awkward constructor.
115116
- Split `add()` into `addMatrix()` and `addScalar()`. Deprecate `add()`.

src/Matrix.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ public function toArray()
351351
* @return Matrix
352352
* @throws MatrixException
353353
*/
354-
public function contatenateBottom(Matrix $other)
354+
public function concatenateBottom(Matrix $other)
355355
{
356356
if ($this->getColumnCount() !== $other->getColumnCount()) {
357357
throw new MatrixException(
@@ -370,7 +370,7 @@ public function contatenateBottom(Matrix $other)
370370
* @return Matrix
371371
* @throws MatrixException
372372
*/
373-
public function contatenateRight(Matrix $other)
373+
public function concatenateRight(Matrix $other)
374374
{
375375
if ($this->getRowCount() !== $other->getRowCount()) {
376376
throw new MatrixException(

0 commit comments

Comments
 (0)