include/geometry/number-traits.h
author Aravindakshan Babu <akshan@stanford.edu>
Wed, 18 Aug 2010 12:05:18 -0700
branchdev
changeset 220 d07d77561661
parent 19 efa14432761a
permissions -rw-r--r--
Removed the points iterator in PersistenceDaigram; replaced it with a __iter__ method. Got rid of some python code in __init__.py, since it was not needed with the above change. Changed the docs to reflect this.

#ifndef __NUMBER_TRAITS_H__
#define __NUMBER_TRAITS_H__

template<class NumberType_>
class number_traits
{
	public:
		typedef							NumberType_									NumberType;

		static NumberType&				normalize(NumberType& n)					{ return n; }
};

#endif