mirror of
https://github.moeyy.xyz/https://github.com/trekhleb/javascript-algorithms.git
synced 2024-11-10 11:09:43 +08:00
Fix @throws documentation tag
This commit is contained in:
parent
cb7afe18ef
commit
2245fa86df
@ -10,7 +10,7 @@ import * as mtrx from '../matrix/Matrix';
|
|||||||
* @param {Matrix} a
|
* @param {Matrix} a
|
||||||
* @param {Matrix} b
|
* @param {Matrix} b
|
||||||
* @returns {number}
|
* @returns {number}
|
||||||
* @trows {Error}
|
* @throws {Error}
|
||||||
*/
|
*/
|
||||||
const euclideanDistance = (a, b) => {
|
const euclideanDistance = (a, b) => {
|
||||||
mtrx.validateSameShape(a, b);
|
mtrx.validateSameShape(a, b);
|
||||||
|
Loading…
Reference in New Issue
Block a user