in reply to Debugging a sort in PDL routine
It all looks pretty sane to me with seeing the data. I would suggest the you include a print statement in the sort block and see what you are getting.
That should show what it doesn't like, then all that's left to do it track down where it's coming from:)my @sorted = sort { print "$a|$b|$angles{$a}|$angles{$b}\n"; $angles{$a} <=> $angles{$b} } keys %angles;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Maybe I'm just dumb...
by Evanovich (Scribe) on May 16, 2003 at 04:23 UTC |