Skip to content

Commit

Permalink
Run black.
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleaoman committed Dec 5, 2024
1 parent 7a5e029 commit 738a0f1
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Binary file added panels_added.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added projected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added stacked.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions swiftsimio/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def _arctan2_cosmo_factor(ca_cf1, ca_cf2, **kwargs):
raise ValueError(
f"Ufunc arguments have cosmo_factors that differ: {cf1} and {cf2}."
)
return cosmo_factor(a**0, scale_factor=cf1.scale_factor)
return cosmo_factor(a ** 0, scale_factor=cf1.scale_factor)


def _comparison_cosmo_factor(ca_cf1, ca_cf2=None, inputs=None):
Expand Down Expand Up @@ -571,7 +571,7 @@ def __rtruediv__(self, b):
return b.__truediv__(self)

def __pow__(self, p):
return cosmo_factor(expr=self.expr**p, scale_factor=self.scale_factor)
return cosmo_factor(expr=self.expr ** p, scale_factor=self.scale_factor)

def __lt__(self, b):
return self.a_factor < b.a_factor
Expand Down

0 comments on commit 738a0f1

Please sign in to comment.