Weird - 'if' body not getting executed in spite of the expression being True
3 Jul
2013
3 Jul
'13
12:50 p.m.
Hi everyone, It's feels stupid even as I'm typing this mail out. But as the subject states, the 'if' body is simply not getting executed. I've tried using pdb++ to debug and every time I step in after seeing that the expression should be True, the interpreter simply jumps the code block and resumes from the enclosing loop. I think it may be something funny with the indentation or so. Though PEP8 doesn't throw any warning or errors. I've retyped the statement again and again and I'm running out of ideas now. If anyone has time then please give it a look, https://github.com/chintak/scikit-image/blob/inpaint/skimage/inpaint/fmm.py. The if at line number 51 in fast_marching_method function. Thanks, Chintak
4186
Age (days ago)
4186
Last active (days ago)
0 comments
1 participants
participants (1)
-
Chintak Sheth