include/geometry/number-traits.h
author Christos Mantoulidis <cmad@stanford.edu>
Tue, 28 Jul 2009 10:58:53 -0700
branchdev
changeset 153 7731c42892de
parent 19 efa14432761a
permissions -rw-r--r--
Modified WeightedRips::generate() to incorporate the simplex-appearance-value computation (before it would have to be done explicitly by the user by a for-loop after the call to generate())

#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