Skip to content

Commit

Permalink
fixed bug in cube association build logic
Browse files Browse the repository at this point in the history
  • Loading branch information
kmilner committed Jun 23, 2024
1 parent e8b22de commit a7bf9a0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1128,9 +1128,10 @@ private static void doPreGridBuildHook(FaultSystemSolution sol, LogicTreeBranch<
cubeAssociations = null; // force a rebuild
}
// build cube associations
if (cubeAssociations != null)
if (cubeAssociations == null)
cubeAssociations = buildFaultCubeAssociations(rupSet, seisRegions);
}
Preconditions.checkNotNull(cubeAssociations, "Cube associations is null");
// add to the rupture set
if (addCubeAssoc)
rupSet.addModule(cubeAssociations);
Expand Down

0 comments on commit a7bf9a0

Please sign in to comment.