Skip to content

Commit 2bf0ccf

Browse files
committed
fix(LinearAlgebra): Fix BADLY broken doctest. All tests passed.
1 parent b77c0a1 commit 2bf0ccf

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Linear-Algebra/src/la_lib.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,3 +309,5 @@ let LinearAlgebra;
309309
}()) // end of class Matrix
310310
LinearAlgebra.Matrix = Matrix
311311
})(LinearAlgebra || (LinearAlgebra = {})) // end of namespace LinearAlgebra
312+
313+
export { LinearAlgebra }

Linear-Algebra/test/test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@
77
*/
88
/* eslint-disable */
99

10+
import { LinearAlgebra } from "../src/la_lib"
11+
1012
var assert = require('assert')
1113
var fs = require('fs')
1214

1315
// file is included here
14-
eval(fs.readFileSync('src/la_lib.js') + '')
1516
// Tests goes here
1617

1718
// creating some vectors

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy