-
Committer:
Martin Sandve Alnæs
-
Date:
2008-04-12 14:48:26 UTC
-
Revision ID:
martinal@simula.no-20080412144826-m9b31kab5zx92nvt
Added instance() to GenericTensor so it can be used by down_cast<T>().
Changed down_cast to return a reference instead of pointer.
Cleaned up instance() implementations (all return GenericFoo* now).