Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions src/tnfr/operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,10 +256,7 @@ def _epi_items():

def aplicar_remesh_si_estabilizacion_global(G, pasos_estables_consecutivos: Optional[int] = None) -> None:
# Ventanas y umbrales
if pasos_estables_consecutivos is not None:
w_estab = int(pasos_estables_consecutivos)
else:
w_estab = int(G.graph.get("REMESH_STABILITY_WINDOW", DEFAULTS["REMESH_STABILITY_WINDOW"]))
w_estab = int(G.graph.get("REMESH_STABILITY_WINDOW", DEFAULTS["REMESH_STABILITY_WINDOW"]))
frac_req = float(G.graph.get("FRACTION_STABLE_REMESH", DEFAULTS["FRACTION_STABLE_REMESH"]))
req_extra = bool(G.graph.get("REMESH_REQUIRE_STABILITY", DEFAULTS["REMESH_REQUIRE_STABILITY"]))
min_sync = float(G.graph.get("REMESH_MIN_PHASE_SYNC", DEFAULTS["REMESH_MIN_PHASE_SYNC"]))
Expand Down Expand Up @@ -296,4 +293,4 @@ def aplicar_remesh_si_estabilizacion_global(G, pasos_estables_consecutivos: Opti
return
# 4) Aplicar y registrar
aplicar_remesh_red(G)
G.graph["_last_remesh_step"] = step_idx
G.graph["_last_remesh_step"] = step_idx
21 changes: 0 additions & 21 deletions tests/test_remesh.py

This file was deleted.