Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
tberlok committed Jun 19, 2024
1 parent ef610b9 commit 1cd1c92
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions paicos/image_creators/image_creator_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@ def find_zoom_sub_divisions(zoom, zoom_max):


class Actions:
"""
The purpose of this class is to simplify the steps
that are usually involved in creating animations
and/or interactive widgets.
This is very much work in progress and subject
to change. Send Thomas an email if you would like
a working example.
"""
def __init__(self, snapnum=None, image_creator=None, dry_run=True):

self.dry_run = dry_run
Expand Down
2 changes: 1 addition & 1 deletion paicos/trees/bvh_gpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ def __init__(self, positions, sizes, threadsperblock=32):
self._pos_uint = self._pos_uint[self.sort_index, :]

del self._pos_uint

# Allocate arrays
self.children = -1 * cp.ones((self.num_internal_nodes, 2), dtype=int)
self.parents = -1 * cp.ones(self.num_leafs_and_nodes, dtype=int)
Expand Down

0 comments on commit 1cd1c92

Please sign in to comment.