Skip to content

Commit

Permalink
fix const array
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollman committed Feb 22, 2024
1 parent c4717f5 commit a34dbb4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/segmentation_display_state/property_map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ export function executeSegmentQuery(
const totalIds = inlineProperties.ids.length / 2;
const totalTags = db?.tags?.tags?.length || 0;
let indices = makeIndicesArray(totalIds, totalIds);
let showTags = makeIndicesArray(totalTags, totalTags);
const showTags = makeIndicesArray(totalTags, totalTags);
showTags.fill(1);
for (let i = 0; i < totalIds; ++i) {
indices[i] = i;
Expand Down Expand Up @@ -1119,7 +1119,7 @@ function updatePropertyHistogram(
++histogram[
(Math.min(numBins - 1, Math.max(-1, (value - min) * multiplier)) +
1) >>>
0
0
];
}
}
Expand All @@ -1137,7 +1137,7 @@ function updatePropertyHistogram(
++histogram[
(Math.min(numBins - 1, Math.max(-1, (value - min) * multiplier)) +
1) >>>
0
0
];
}
}
Expand Down

0 comments on commit a34dbb4

Please sign in to comment.