Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion lib/node_modules/@stdlib/ndarray/base/dtype-objects/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
// MODULES //

var dtypeStrings = require( '@stdlib/ndarray/base/dtype-strings' );
var DataType = require( '@stdlib/ndarray/dtype-ctor' );
var objectAssign = require( '@stdlib/object/assign' );


Expand All @@ -32,6 +31,18 @@ var TABLE;

// FUNCTIONS //

/**
* Minimal `DataType` constructor used locally to avoid circular dependency.
*
* @private
* @constructor
*
* @param {string} name - data type name
*/
function DataType( name ) {
this.name = name;
}

/**
* Creates an object mapping supported data type strings to data type objects.
*
Expand Down
Loading