Remove old version of swap_values

This commit is contained in:
Rasmus Vester Thøgersen 2022-10-23 18:57:42 +00:00 committed by GitHub
parent adfed84526
commit e6243d4d38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,16 +50,6 @@ def load_options(path):
def swap_values(dict, key1, key2):
key1_val = dict[key1]
dict[key1] = dict[key2]
dict[key2] = key1_val
return dict
def ceil(a, roundto=1): def ceil(a, roundto=1):
fac = 1/roundto fac = 1/roundto