Skip to content

Commit

Permalink
fix: avoid messing with hashcodes
Browse files Browse the repository at this point in the history
  • Loading branch information
ishland committed Nov 23, 2024
1 parent 89f89d7 commit f2f4713
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public static DensityFunction compile(DensityFunction densityFunction, Reference
AstNode ast = vif.getAstNode();
return new CompiledDensityFunction(compile0(ast), vif.getBlendingFallback());
}
AstNode ast = McToAst.toAst(densityFunction.apply(StripBlending.INSTANCE));
AstNode ast = McToAst.toAst(densityFunction);
if (ast instanceof ConstantNode constantNode) {
return DensityFunctionTypes.constant(constantNode.getValue());
}
Expand Down

0 comments on commit f2f4713

Please sign in to comment.