Skip to content

Commit 014bada

Browse files
committed
[BUG] Dual contouring was switching compute grads on for the original geomodel object
1 parent 1ed9701 commit 014bada

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gempy_engine/API/dual_contouring/multi_scalar_dual_contouring.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def dual_contouring_multi_scalar(data_descriptor: InputDataDescriptor, interpola
3131
octree_leaves = octree_list[-1]
3232
all_meshes: List[DualContouringMesh] = []
3333

34-
dual_contouring_options = copy.copy(options)
34+
dual_contouring_options = copy.deepcopy(options)
3535
dual_contouring_options.evaluation_options.compute_scalar_gradient = True
3636

3737
if options.debug_water_tight:

0 commit comments

Comments
 (0)