File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
lib/node_modules/@stdlib/ndarray/base/unary/lib Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2828* @param {NonNegativeInteger } idx - element index
2929* @returns {* } element
3030*/
31- function getElement ( buf , idx ) {
31+ function getIndexed ( buf , idx ) {
3232 return buf [ idx ] ;
3333}
3434
@@ -52,7 +52,7 @@ function getAccessor( buf, idx ) {
5252* @param {NonNegativeInteger } idx - element index
5353* @param {* } value - value to set
5454*/
55- function setElement ( buf , idx , value ) {
55+ function setIndexed ( buf , idx , value ) {
5656 buf [ idx ] = value ;
5757}
5858
@@ -102,8 +102,8 @@ function copy( x ) {
102102 'offset' : x . offset ,
103103 'order' : x . order ,
104104 'accessors' : bool ,
105- 'getter' : ( bool ) ? getAccessor : getElement ,
106- 'setter' : ( bool ) ? setAccessor : setElement
105+ 'getter' : ( bool ) ? getAccessor : getIndexed ,
106+ 'setter' : ( bool ) ? setAccessor : setIndexed
107107 } ;
108108}
109109
You can’t perform that action at this time.
0 commit comments