include/geometry/number-traits.h
author Christos Mantoulidis <cmad@stanford.edu>
Tue, 04 Aug 2009 16:58:44 -0700
branchdev
changeset 157 700cbac5b23c
parent 19 efa14432761a
permissions -rw-r--r--
Modified cohomology code (unweighted and weighted) so that it doesn't use std::map for boundary computations, which should optimize memory usage.

#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