GalSim-developers/GalSim — pull request #294 by rmjarvis (2012-10-09 20:18:00+00:00)
Title: #293  A few minor bug fixes

This pull request just fixes a few minor bugs.

- Missing include file in test_integ.cpp that some versions of boost testing require
- Remove tests of im1 += im2 when the type of im2 (e.g. float32) cannot be safely added to the type of im1 (e.g. int16). Some versions of numpy balk at these statements. (Likewise for other ops.)
- Change implementation of im3 = im1 + im2 to avoid the +=. im3 is created with the correct type according to numpy's sum. (Likewise for other ops.)
- Fix spurious warning message on installation that some people were getting about PYPREFIX not being in their PYTHONPATH environment variable.
- Fix spurious warning message that fink installation was getting. (Same message as previous item, but for a different reason.) This can take effect for the next version we put on fink.

There's nothing major here, and the people with the problems have confirmed the fixes, so probably if one person signs off on it, we can merge these changes.