Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
solidpixel authored Jun 7, 2024
2 parents 50d4217 + c973196 commit 291c242
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/astcenc_find_best_partitioning.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: Apache-2.0
// ----------------------------------------------------------------------------
// Copyright 2011-2023 Arm Limited
// Copyright 2011-2024 Arm Limited
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy
Expand Down Expand Up @@ -425,8 +425,8 @@ static unsigned int get_partition_ordering_by_mismatch_bits(
}

// Create a running sum from the histogram array
// Cells store previous values only; i.e. exclude self after sum
unsigned int sum = 0;
// Indices store previous values only; i.e. exclude self after sum
uint16_t sum = 0;
for (unsigned int i = 0; i < texel_count; i++)
{
uint16_t cnt = mscount[i];
Expand Down

0 comments on commit 291c242

Please sign in to comment.