Skip to content

Commit

Permalink
Fix examples in documentation of row and column, see #230
Browse files Browse the repository at this point in the history
  • Loading branch information
josdejong committed Feb 26, 2020
1 parent cb8cd6d commit 52f6def
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# not yet published, version 6.6.1

- Fix #1725: simplify `a/(b/c)`. Thanks @dbramwell.
- Fix examples in documentation of `row` and `column`.


# 2020-02-01, version 6.6.0
Expand Down
2 changes: 1 addition & 1 deletion src/function/matrix/column.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const createColumn = /* #__PURE__ */ factory(name, dependencies, ({ typed
*
* // get a column
* const d = [[1, 2], [3, 4]]
* math.column(d, 1) // returns [2, 4]
* math.column(d, 1) // returns [[2], [4]]
*
* See also:
*
Expand Down
2 changes: 1 addition & 1 deletion src/function/matrix/row.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const createRow = /* #__PURE__ */ factory(name, dependencies, ({ typed, I
*
* // get a row
* const d = [[1, 2], [3, 4]]
* math.row(d, 1) // returns [3, 4]
* math.row(d, 1) // returns [[3, 4]]
*
* See also:
*
Expand Down

0 comments on commit 52f6def

Please sign in to comment.