Reduce compiler memory consumption for SVD unit tests

This commit is contained in:
Gael Guennebaud
2015-06-22 09:58:06 +02:00
parent 40821876ea
commit b3b3dcad05
3 changed files with 6 additions and 4 deletions

View File

@@ -307,6 +307,7 @@ void svd_inf_nan()
// Regression test for bug 286: JacobiSVD loops indefinitely with some
// matrices containing denormal numbers.
template<typename>
void svd_underoverflow()
{
#if defined __INTEL_COMPILER
@@ -384,6 +385,7 @@ void svd_all_trivial_2x2( void (*cb)(const MatrixType&,bool) )
} while((id<int(value_set.size())).all());
}
template<typename>
void svd_preallocate()
{
Vector3f v(3.f, 2.f, 1.f);