Done.


On Tue, Mar 4, 2014 at 10:54 PM, Robert Carlsen <notifications@github.com>wrote:

> In src/composition.cc:
>
> > @@ -105,11 +105,13 @@ void Composition::Record(Context* ctx) {
> >
> >  Composition::Ptr Composition::NewDecay(int delta) {
> >    int tot_decay = prev_decay_ + delta;
> > -  double months_per_year = 12;
> > -  double years = double(delta) / months_per_year;
> > +
> > +  if (atom_.size() == 0)
> > +    // FIXME this is only here for testing
> > +    return (Composition::Ptr) new Composition(tot_decay, decay_line_);
>
> @scopatz <https://github.com/scopatz> I just noticed a bug here - could
> you throw in this line at the top of the NewDecay function:
>
>   atom(); // force evaluation of atom-composition if not calculated already
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/cyclus/cyclus/pull/762/files#r10287754>
> .
>