darrenlafreniere / lafarren-image-completer

Implementation of the research titled: "Image Completion Using Efficient Belief Propagation via Priority Scheduling and Dynamic Pruning"
http://www.lafarren.com/image-completer/
GNU General Public License v3.0
32 stars 18 forks source link

Rename variable from 'pi' #14

Open daviddoria opened 13 years ago

daviddoria commented 13 years ago

On line 232 of Node.cpp there is:

for (int pi = 0; pi < pLabelNum; ++pi)

I'm assuming 'pi' is short for patchIndex? You'd probably want to change it so it doesn't clash with someone having the mathematical symbol 3.14 defined.

daviddoria commented 13 years ago

"will change to pIndex and qIndex" ~Darren