Skip to content

Commit 444fd22

Browse files
committed
review changes
1 parent e3a72ae commit 444fd22

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apps/typegpu-docs/src/examples/algorithms/probability

apps/typegpu-docs/src/examples/algorithms/probability/executor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export class Executor {
107107
) {
108108
let distributionMap = this.#pipelineCache.get(distribution);
109109
if (!distributionMap) {
110-
distributionMap = new Map();
110+
distributionMap = new WeakMap();
111111
this.#pipelineCache.set(distribution, distributionMap);
112112
}
113113

0 commit comments

Comments
 (0)