delete unused function check_squeres

This commit is contained in:
Maria Marchwicka 2020-07-21 04:51:20 +02:00
parent 90322e0d19
commit 0337fedda0

View File

@ -529,22 +529,6 @@ def eval_cable_for_null_signature(knot_sum, print_results=True, verbose=None):
return None return None
def check_squares(a, k):
print
p = 2 * k + 1
k_0 = (p^2 - 1)/2
knot_sum = [[a, k], [k_0], [-a, -k_0], [-k]]
print get_knot_descrption(*knot_sum)
if a * 4 >= p or is_trivial_combination(knot_sum):
if a * 4 >= p:
print str(knot_sum)
print "a * 4 >= p"
else:
print "Trivial " + str(knot_sum)
return None
eval_cable_for_null_signature(knot_sum)
def get_number_of_combinations(*arg): def get_number_of_combinations(*arg):
number_of_combinations = 1 number_of_combinations = 1
for knot in arg: for knot in arg: