</span>&#160;          <span class="comment">// Ignore NAN values if specified to do so</span></div><div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;          <span class="keywordflow">if</span> (ignoreNan &amp;&amp; (std::isnan(mat(yy, xx)) || mat(yy, xx) == 0)) {</div><div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;            <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#