Syntax error in Grid_ProjectSolutionToParentGrid

#348 Merged at 240af05
Repository
aemerick
Branch
week-of-code
Repository
enzo
Branch
week-of-code
Author
  1. Andrew Emerick
Reviewers
Description

Syntax error in pointer deletion.

I discovered this when trying to track down occasional spurious values in new Enzo fields I was working on in a different fork. I do not know if this was the cause of the problem, nor do I know if this affected anything elsewhere. Only discovered this when running with AddressSanitizer, which caused a crash the first time this line was hit.

Comments (4)

  1. Nathan Goldbaum

    Good catch! This likely isn't the cause of your problem, but it is undefined behavior.

    1. Brian OShea

      It's probably fine, but I'll run the tests anyway. I'm doing so right now. Sorry for the delay on this!

      1. Brian OShea

        Predictably, the test suite passes with flying colors. I'm going to approve and merge.