Skip to content

Commit

Permalink
Make the new multiple-inputs optimization function the default.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwhite committed Mar 5, 2024
1 parent b59e281 commit 247d52e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cubed/core/plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import networkx as nx
import zarr

from cubed.core.optimization import simple_optimize_dag
from cubed.core.optimization import multiple_inputs_optimize_dag
from cubed.primitive.blockwise import BlockwiseSpec
from cubed.primitive.types import PrimitiveOperation
from cubed.runtime.pipeline import visit_nodes
Expand Down Expand Up @@ -135,7 +135,7 @@ def optimize(
optimize_function: Optional[Callable[..., nx.MultiDiGraph]] = None,
):
if optimize_function is None:
optimize_function = simple_optimize_dag
optimize_function = multiple_inputs_optimize_dag
dag = optimize_function(self.dag)
return Plan(dag)

Expand Down

0 comments on commit 247d52e

Please sign in to comment.