Skip to content

Commit

Permalink
Remove concentration from MassDef
Browse files Browse the repository at this point in the history
  • Loading branch information
hsinfan1996 committed Jul 2, 2023
1 parent dcd95af commit 2607cda
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions clmm/theory/ccl.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@ def _get_mass(self):
def _set_concentration(self, cdelta):
""""set concentration. Also sets/updates hdpm"""
self.conc = ccl.halos.ConcentrationConstant(c=cdelta, mass_def=self.mdef)
with ccl.UnlockInstance(self.mdef):
self.mdef.concentration = self.conc
self.hdpm = self.hdpm_dict[self.halo_profile_model](
concentration=self.conc, mass_def=self.mdef,
**self.hdpm_opts[self.halo_profile_model])
Expand Down

0 comments on commit 2607cda

Please sign in to comment.