diff --git a/nanovdb/nanovdb/NanoVDB.h b/nanovdb/nanovdb/NanoVDB.h index 4d1bd07781..87f387b6cb 100644 --- a/nanovdb/nanovdb/NanoVDB.h +++ b/nanovdb/nanovdb/NanoVDB.h @@ -2399,7 +2399,7 @@ struct BBox : public BaseBBox __hostdev__ const CoordT& operator*() const { return mPos; } }; // Iterator __hostdev__ Iterator begin() const { return Iterator{*this}; } - __hostdev__ Iterator end() const { return Iterator{*this, this->max().offsetBy(1)}; } + __hostdev__ Iterator end() const { return Iterator{*this, this->max().offsetBy(1,0,0)}; } __hostdev__ BBox() : BaseT(CoordT::max(), CoordT::min()) {