27 Oct
2009
27 Oct
'09
4:30 a.m.
Hi guys, I've been running into the issue where the rightmost bin of a BinnedProfile1D dangles and is always empty; this is a result of having one too many bins, and right-edge definitions of the values. I think this patch fixes it, wherein all the internal references -- the stuff that does the binning -- accesses .data but the __getitem__ returns [:-1]. I believe something similar should work for BinnedProfile2D. Sam, Britton, anybody -- can you test this out, make sure that it works when you put it through its paces? All my tests have worked. http://paste.enzotools.org/show/246/ -Matt
5294
Age (days ago)
5294
Last active (days ago)
0 comments
1 participants
participants (1)
-
Matthew Turk