I don't know if it's a bug or not, but the behaviour is different than OpenVDB. In OpenVDB statistics() would return statistics of the magnitudes of the vectors, but in NanoVDB the behaviour on vectors is not documented, and when I check the code it seems to use the squared length, which doesn't quite make sense to me:
I don't know if it's a bug or not, but the behaviour is different than OpenVDB. In OpenVDB
statistics()would return statistics of the magnitudes of the vectors, but in NanoVDB the behaviour on vectors is not documented, and when I check the code it seems to use the squared length, which doesn't quite make sense to me:openvdb/nanovdb/nanovdb/tools/GridStats.h
Line 157 in 19013e3