Hi, Andrew, I am still interested in finding out what causes the program to crash. However, it might be helpful to keep the following in mind.
None of the histogram function is supposed to work with strings. They should return a negative value and leave the arrays for histograms untouched. Some of them might not be doing that now because it is simply treating categorical values as unsigned integers. From the ibis::category class, you can use the function getKey to retrieve the strings corresponding to the integers. It might make more sense for you to try the group by option offered by ibis::table class. If you get the chance, please download the nightly snapshot <https://codeforge.lbl.gov/snapshots.php?group_id=44> and try out the group by function with categorical values. It should be working now, but would be good to have some independent testing ;-) Hope you don't mind being the guinea pig here. John On 7/29/2009 1:13 PM, Andrew Olson wrote: > Hi John, > I am using ibis::part::get2DDistribution() to calculate conditional 2D > histograms with adaptive bins. > My program crashes whenever the constraints argument includes more > than one type of column. (e.g., UINT and CATEGORY) > > Andrew > > _______________________________________________ > FastBit-users mailing list > [email protected] > https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users _______________________________________________ FastBit-users mailing list [email protected] https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users
