<div class="gmail_quote">On Sun, Jun 10, 2012 at 4:39 PM, Nakib Haider Protik <span dir="ltr"><<a href="mailto:nprot048@uottawa.ca" target="_blank">nprot048@uottawa.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":4rj">Here's where I found a pcmg implementation that "looks more or less<br>
correct". Does this code suffer from the same problem you were referring<br>
to?<br>
<br>
Many thanks in advance.</div></blockquote></div><br><div>Did you mean to include code or are you citing that email (which is just code snippets and seems to have the same problem of needlessly accessing various contexts and rampantly overwriting the local variable)?</div>
<div><br></div><div>Please make your code leak-free according to valgrind (because it will catch all this misuse if it isn't obvious to you when looking). Look at the output of -ksp_view to see if the method is what you intend. If something doesn't match what you expect, please reply with the entire setup code, explain what goes wrong, and explain what you expect to happen.</div>