in reply to problem in for loop
Your code looks rather complicated but it is difficult to guess what you want to achieve without knowing more about the underlying problem you want to solve. For example, I find the line
if ( ($ta-$a) < $threshold && ($tc-$c) < $threshold)
strange as I would expect some kind of abs($ta-$a) < $threshold instead. But without knowing more detail it is difficult to comment more specifically.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: problem in for loop
by MVRS (Acolyte) on May 16, 2013 at 07:24 UTC | |
by hdb (Monsignor) on May 16, 2013 at 07:50 UTC | |
by MVRS (Acolyte) on May 16, 2013 at 08:06 UTC | |
by hdb (Monsignor) on May 16, 2013 at 08:12 UTC | |
by MVRS (Acolyte) on May 16, 2013 at 08:31 UTC | |
|