File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ dependencies:
17
17
- Cython
18
18
- sympy
19
19
- networkx
20
- - pytorch
20
+ - pytorch<=2.2.0
21
21
- numba
22
22
# make html in docs folder
23
23
- sphinx
Original file line number Diff line number Diff line change @@ -436,7 +436,7 @@ def sort_2d_vertices_by_polar_angle(vertices):
436
436
# sort by polar angle
437
437
sorted_vertices = np .array (
438
438
sorted (vertices .T ,
439
- key = lambda p : np .atan2 (p [1 ]- cent [1 ], p [0 ]- cent [0 ]))).T
439
+ key = lambda p : np .arctan2 (p [1 ]- cent [1 ], p [0 ]- cent [0 ]))).T
440
440
return sorted_vertices
441
441
442
442
Original file line number Diff line number Diff line change @@ -300,7 +300,7 @@ def _compute_basis(self):
300
300
# is that we cannot use autograd on quantities used to consturct K.
301
301
# but the need for this is unlikely
302
302
eig_vals , eig_vecs = eigh (
303
- self ._la_to_numpy (K ), turbo = False ,
303
+ self ._la_to_numpy (K ), # turbo=False,
304
304
subset_by_index = (K .shape [0 ]- self ._nterms , K .shape [0 ]- 1 ))
305
305
eig_vals = self ._la_atleast1d (eig_vals )
306
306
eig_vecs = self ._la_atleast2d (eig_vecs )
You can’t perform that action at this time.
0 commit comments