Skip to content

Commit

Permalink
🐞 fix: getActualShape
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangechen committed Aug 13, 2024
1 parent 88fa041 commit c9cd826
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/chili-occ/src/occHelps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -458,12 +458,12 @@ export class OccHelps {
);
const hashes = unique ? new Map() : undefined;
while (explorer.More()) {
const item = explorer.Current();
const item = this.getActualShape(explorer.Current());
if (unique) {
const hash = OccHelps.hashCode(item);
if (!hashes!.has(hash)) {
hashes!.set(hash, true);
yield this.getActualShape(item);
yield item;
}
} else {
yield item;
Expand Down

0 comments on commit c9cd826

Please sign in to comment.