Skip to content

Commit

Permalink
fixed lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielJDufour committed May 11, 2024
1 parent d4a1d39 commit 70c3297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stats/stats.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const stats = (georaster, geometry, calcStatsOptions, test, { debug_level = 0, i
if (typeof band.valid === "number") band.valid /= area_multiplier;

if (band.histogram) {
for (let key in band.histogram) {
for (const key in band.histogram) {
// this will lead to fractions of pixels
// for example, a pixel could appear 3.75 times if vrm is [2, 2]
band.histogram[key].ct /= area_multiplier;
Expand Down

0 comments on commit 70c3297

Please sign in to comment.