Skip to content

Commit

Permalink
fix incorrect var name not caught in local testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbuhler committed Sep 18, 2024
1 parent 75c3db4 commit 202af59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/fastspecfit/continuum.py
Original file line number Diff line number Diff line change
Expand Up @@ -1152,7 +1152,7 @@ def continuum_fastphot(redshift, objflam, objflamivar, CTools,

msg = [f'Model Dn(4000)={dn4000_model:.3f}']
if not templates.use_legacy_fitting:
var_msg = f'+/-{1./np.sqrt(ebvivar):.3f}' if ebivar > 0. else ''
var_msg = f'+/-{1./np.sqrt(ebvivar):.3f}' if ebvivar > 0. else ''
msg.append(f'E(B-V)={ebv:.3f}{var_msg} mag')
msg.append(f'vdisp={vdisp:.0f} km/s.')
log.info(', '.join(msg))
Expand Down

0 comments on commit 202af59

Please sign in to comment.