Skip to content

Commit a8d40ed

Browse files
committed
[WIP] Small changes to revive vector probability examples.
1 parent 7499b56 commit a8d40ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gempy_engine/modules/activator/activator_interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def activate_formation_block(exported_fields: ExportedFields, ids: np.ndarray,
1212
Z_x: np.ndarray = exported_fields.scalar_field_everywhere
1313
scalar_value_at_sp: np.ndarray = exported_fields.scalar_field_at_surface_points
1414

15-
if LEGACY := True: # * Here we branch to the experimental activation function with hard sigmoid
15+
if LEGACY := True and sigmoid_slope > 0: # * Here we branch to the experimental activation function with hard sigmoid
1616
sigm = activate_formation_block_from_args(Z_x, ids, scalar_value_at_sp, sigmoid_slope)
1717
else:
1818
from .torch_activation import activate_formation_block_from_args_hard_sigmoid

0 commit comments

Comments
 (0)