Skip to content

Commit 756aa83

Browse files
committed
format
1 parent f2a2943 commit 756aa83

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/function/matrix/broadcastMatrices.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ export const createBroadcastMatrices = /* #__PURE__ */ factory(name, dependencie
3131
return typed(name, {
3232
'...Array|Matrix': collections => {
3333
const areMatrices = collections.map(isMatrix)
34-
if(areMatrices.includes(true)) {
35-
const arrays = collections.map((c,i) => areMatrices[i] ? c.valueOf() : c)
34+
if (areMatrices.includes(true)) {
35+
const arrays = collections.map((c, i) => areMatrices[i] ? c.valueOf() : c)
3636
const broadcastedArrays = broadcastArrays(...arrays)
3737
const broadcastedCollections = broadcastedArrays.map((arr, i) => areMatrices[i] ? collections[i].create(arr) : arr)
3838
return broadcastedCollections

src/function/matrix/broadcastSizes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ export const createBroadcastSizes = /* #__PURE__ */ factory(name, dependencies,
3131
return typed(name, {
3232
'...Array|Matrix': collections => {
3333
const areMatrices = collections.map(isMatrix)
34-
if(areMatrices.includes(true)) {
35-
const arrays = collections.map((c,i) => areMatrices[i] ? c.valueOf() : c)
34+
if (areMatrices.includes(true)) {
35+
const arrays = collections.map((c, i) => areMatrices[i] ? c.valueOf() : c)
3636
const broadcastedArrays = broadcastSizes(...arrays)
3737
const broadcastedCollections = broadcastedArrays.map((arr, i) => areMatrices[i] ? collections[i].create(arr) : arr)
3838
return broadcastedCollections

src/function/matrix/broadcastTo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const name = 'broadcastTo'
55
const dependencies = ['typed']
66

77
export const createBroadcastTo = /* #__PURE__ */ factory(name, dependencies, ({ typed }) => {
8-
/**
8+
/**
99
* Broadcast an array to a specified size.
1010
*
1111
* Syntax:

0 commit comments

Comments
 (0)