Skip to content

Commit 41c9264

Browse files
committed
Move require expressions
1 parent b68a5f2 commit 41c9264

2 files changed

Lines changed: 16 additions & 4 deletions

File tree

lib/node_modules/@stdlib/complex/cmplx/lib/ctors.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,17 @@
1818

1919
'use strict';
2020

21+
// MODULES //
22+
23+
var Complex128 = require( '@stdlib/complex/float64' );
24+
var Complex64 = require( '@stdlib/complex/float32' );
25+
26+
2127
// MAIN //
2228

2329
var CTORS = {
24-
'float64': require( '@stdlib/complex/float64' ),
25-
'float32': require( '@stdlib/complex/float32' )
30+
'float64': Complex128,
31+
'float32': Complex64
2632
};
2733

2834

lib/node_modules/@stdlib/complex/reviver/lib/ctors.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,17 @@
1818

1919
'use strict';
2020

21+
// MODULES //
22+
23+
var Complex128 = require( '@stdlib/complex/float64' );
24+
var Complex64 = require( '@stdlib/complex/float32' );
25+
26+
2127
// MAIN //
2228

2329
var ctors = {
24-
'Complex128': require( '@stdlib/complex/float64' ),
25-
'Complex64': require( '@stdlib/complex/float32' )
30+
'Complex128': Complex128,
31+
'Complex64': Complex64
2632
};
2733

2834

0 commit comments

Comments
 (0)