ValeevGroup / BTAS

Basic Tensor Algebra Subroutines
http://itensor.org/btas
BSD 3-Clause "New" or "Revised" License
46 stars 19 forks source link

Remove redundant ordinal function #175

Closed justusc closed 2 months ago

justusc commented 7 months ago

The RangeNd::ordinal(...) functions are redundant. They can be implemented using a single function. For cases where you want to call RangeNd::ordinal(), overload priority will favor the non-template function. The ordinal object is able to differentiate the different arguments.