Skip to content

Commit

Permalink
corrected a mistake in typing
Browse files Browse the repository at this point in the history
  • Loading branch information
WilfriedMercier committed Mar 15, 2022
1 parent 46e55e8 commit 013ed2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
from .outputs import LePhareOutput, CigaleOutput
from .misc import SEDcode, CleanMethod, MagType, TableFormat, TableType, TableUnit, YESNO, ANDOR, IMF
from .misc import cigaleModules as cigmod
from .photometry import countToMag, MagTocount, countToFlux
from .photometry import countToMag, MagTocount, countToFlux
2 changes: 1 addition & 1 deletion photometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import numpy as np
import astropy.units as u

def countToMag(data: Union[float, np.ndaray], err: Union[float, np.ndarray], zeropoint: float) -> Tuple[Union[float, np.ndarray], Union[float, np.ndarray]]:
def countToMag(data: Union[float, np.ndarray], err: Union[float, np.ndarray], zeropoint: float) -> Tuple[Union[float, np.ndarray], Union[float, np.ndarray]]:
r'''
.. codeauthor:: Hugo Plombat - LUPM <hugo.plombat@umontpellier.fr> & Wilfried Mercier - IRAP <wilfried.mercier@irap.omp.eu>
Expand Down

0 comments on commit 013ed2c

Please sign in to comment.