Skip to content

Commit

Permalink
Merge pull request #881 from rekomodo/fix_SFC_msg
Browse files Browse the repository at this point in the history
Fix incorrect error message on SurfaceFluxCylindrical
  • Loading branch information
RemDelaporteMathurin authored Sep 3, 2024
2 parents abe3942 + 940fb26 commit 12628bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion festim/exports/derived_quantities/surface_flux.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def azimuth_range(self):
@azimuth_range.setter
def azimuth_range(self, value):
if value[0] < 0 or value[1] > 2 * np.pi:
raise ValueError("Azimuthal range must be between 0 and pi")
raise ValueError("Azimuthal range must be between 0 and 2*pi")
self._azimuth_range = value

def compute(self):
Expand Down

0 comments on commit 12628bd

Please sign in to comment.