Skip to content

Commit c921571

Browse files
committed
finish renaming symbol
1 parent df55bd2 commit c921571

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyomo/contrib/piecewise/tests/test_triangulations.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
get_unordered_j1_triangulation,
1818
get_ordered_j1_triangulation,
1919
_get_Gn_hamiltonian,
20-
get_grid_hamiltonian,
20+
_get_grid_hamiltonian,
2121
)
2222
from pyomo.common.dependencies import numpy as np, numpy_available
2323
from math import factorial
@@ -203,7 +203,7 @@ def test_Gn_hamiltonian_paths(self):
203203
self.check_Gn_hamiltonian_path(7, (1, 2, 3, 4, 5, 6, 7), 7, False)
204204

205205
def check_grid_hamiltonian(self, dim, length):
206-
path = get_grid_hamiltonian(dim, length)
206+
path = _get_grid_hamiltonian(dim, length)
207207
self.assertEqual(len(path), length**dim)
208208
for x in itertools.product(range(length), repeat=dim):
209209
self.assertTrue(list(x) in path)

0 commit comments

Comments
 (0)