Merge remote-tracking branch 'refs/remotes/origin/main'
This commit is contained in:
@@ -95,11 +95,7 @@ def Vogel(
|
|||||||
|
|
||||||
while (len(C[0]) > 1 and len(C) > 1):
|
while (len(C[0]) > 1 and len(C) > 1):
|
||||||
iteration += 1
|
iteration += 1
|
||||||
C_map = dict()
|
|
||||||
|
|
||||||
for y in range(len(C)):
|
|
||||||
for x in range(len(C[0])):
|
|
||||||
C_map[x, y] = C[y][x]
|
|
||||||
|
|
||||||
C_length = len(C[0])
|
C_length = len(C[0])
|
||||||
C_height = len(C)
|
C_height = len(C)
|
||||||
@@ -186,7 +182,7 @@ def Vogel(
|
|||||||
D = np.delete(D, column_index_to_eleminate, 0)
|
D = np.delete(D, column_index_to_eleminate, 0)
|
||||||
C_numerated = np.delete(C_numerated, column_index_to_eleminate+1, 1)
|
C_numerated = np.delete(C_numerated, column_index_to_eleminate+1, 1)
|
||||||
print(f"x_num: {x_num}, y_num: {y_num}")
|
print(f"x_num: {x_num}, y_num: {y_num}")
|
||||||
add_to_solutions(selected_value, x_num, y_num)
|
add_to_solutions(selected_value, x_num-1, y_num-1)
|
||||||
print("C")
|
print("C")
|
||||||
print(C)
|
print(C)
|
||||||
print("Numerated")
|
print("Numerated")
|
||||||
|
|||||||
Reference in New Issue
Block a user