cgarling / InitialMassFunctions.jl

Evaluation of and sampling from stellar initial mass functions
MIT License
1 stars 0 forks source link

Remove AbstractIMF? #4

Open cgarling opened 1 year ago

cgarling commented 1 year ago

Since the PowerLawIMF and LogNormalIMF constructors just create normal truncated distributions and not AbstractIMFs, I'm not sure the abstract type actually helps anything. We're not defining any special methods for AbstractIMFs, so that doesn't support the addition of the abstract type either.

cgarling commented 1 year ago

We might use AbstractIMF later if we decide to add normalized volumetric IMFs or something like that ... doesn't seem to be hurting anything for now.