EMsoft-org / EMSphInx

C++ Spherical Indexing repository
GNU General Public License v2.0
8 stars 20 forks source link

Fixes memory corruption crash when using non-square patterns #8

Closed gsparks3 closed 2 years ago

gsparks3 commented 4 years ago

Quick fix for an issue I discovered while trying to get EMSphinx working with some of my data. Didn't show up with the initial patterns I tested (which had the same number of pixels in width and height), since the swapped variables had the same value anyway.

Cheers, Greg Sparks