Skip to content

Commit 1c48565

Browse files
committed
refactor: use proper indentation to follow editorconfig
1 parent cec872e commit 1c48565

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

lib/node_modules/@stdlib/ndarray/base/where/lib/2d_accessors.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -192,11 +192,11 @@ function where2d( condition, x, y, out, isRowMajor ) {
192192
ybuf = y.data;
193193
obuf = out.data;
194194

195-
// Cache accessors
196-
getx = x.accessors[ 0 ];
197-
gety = y.accessors[ 0 ];
198-
getc = condition.accessors[ 0 ];
199-
seto = out.accessors[ 1 ];
195+
// Cache accessors
196+
getx = x.accessors[ 0 ];
197+
gety = y.accessors[ 0 ];
198+
getc = condition.accessors[ 0 ];
199+
seto = out.accessors[ 1 ];
200200

201201
// Iterate over the ndarray dimensions...
202202
for ( i1 = 0; i1 < S1; i1++ ) {

lib/node_modules/@stdlib/ndarray/base/where/lib/2d_blocked.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -168,12 +168,12 @@ function blockedwhere2d( condition, x, y, out ) {
168168

169169
// Resolve the loop interchange order:
170170
o = loopOrder( condition.shape, condition.strides, x.strides, y.strides, out.strides );
171-
172-
// Strides output as follows: sx, sy, sz, sw. According to arguments order respectively..
173-
sh = o.sh;
171+
172+
// Strides output as follows: sx, sy, sz, sw. According to arguments order respectively..
173+
sh = o.sh;
174174
sc = o.sx;
175175
sx = o.sy;
176-
sy = o.sz;
176+
sy = o.sz;
177177
so = o.sw;
178178

179179
// Determine the block size:
@@ -191,7 +191,7 @@ function blockedwhere2d( condition, x, y, out ) {
191191
ybuf = y.data;
192192
obuf = out.data;
193193

194-
// Cache offset increments for the innermost loop...
194+
// Cache offset increments for the innermost loop...
195195
dc0 = sc[ 0 ];
196196
dx0 = sx[ 0 ];
197197
dy0 = sy[ 0 ];

0 commit comments

Comments
 (0)