Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Commit 6c87d26

Browse files
committed
fix ci py36
1 parent 1becd65 commit 6c87d26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bluepyopt/ephys/locations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -450,9 +450,9 @@ def set_sec_index(self, icell=None):
450450
]
451451
)
452452
if self.direction == 'radial':
453-
self.sec_index = np.argmax(np.linalg.norm(points, axis=1))
453+
self.sec_index = int(np.argmax(np.linalg.norm(points, axis=1)))
454454
else:
455-
self.sec_index = np.argmax(points.dot(self.direction))
455+
self.sec_index = int(np.argmax(points.dot(self.direction)))
456456

457457
def instantiate(self, sim=None, icell=None):
458458
""" """

0 commit comments

Comments
 (0)