Skip to content

Commit 4b8a5dd

Browse files
committed
[TEST] Checking gempy thickness problem is running alright
1 parent 895d762 commit 4b8a5dd

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

gempy_engine/modules/activator/activator_interface.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,8 @@ def activate_formation_block_from_args_hard_sigmoid(Z_x, ids, scalar_value_at_sp
5656
ids = bt.t.array(ids, dtype="int32")
5757
scalar_0_v = bt.t.copy(ids)
5858
scalar_0_v[0] = 0
59-
#
60-
# scalar_1_v = bt.t.copy(ids)
61-
# scalar_1_v[-1] = 0
62-
ids = ids.flip(0)
59+
60+
ids = bt.t.flip(ids, (0,))
6361
# * Iterate over surface
6462
sigm = bt.t.zeros((1, Z_x.shape[0]), dtype=BackendTensor.dtype_obj)
6563

0 commit comments

Comments
 (0)