1. The Enzo Project
  2. Untitled project
  3. enzo-dev
  4. Pull requests

Pull requests

#144 Merged
Repository
clean-copy
Branch
week-of-code
Repository
enzo-dev
Branch
week-of-code

Fixing memory bug in the HII restricted photon timestep.

Author
  1. John Wise
Reviewers
Description

When an additional variable (for example, float *test[100]) was added to the grid object. It would produce a different answer. Accessing an array out of bounds and not initializing this array was causing the problem.

A new gold standard needs to be generated as this changes the answer.

Comments (1)

  1. Nathan Goldbaum

    I verified this earlier today comparing a local result generated on enzo-dev and a local result generated on enzo-3.0. Before this fix, the answers were different. Now they are bitwise identical.