Commit 87e22617 authored by Stefan Philips's avatar Stefan Philips

[CHANGE] Adapt WMCalculateTensors to spherical harmonics with Eigen vector

parent 343d9c0f
......@@ -26,6 +26,8 @@
#include <vector>
#include "../../common/math/WSymmetricSphericalHarmonic.h"
#include "../../common/math/WMatrix.h"
#include "../../common/math/WVector3D.h"
#include "../../common/WLimits.h"
#include "../../kernel/WKernel.h"
......@@ -211,7 +213,7 @@ boost::array< double, 6 > WMCalculateTensors::perVoxelTensorFunc( WValueSet< dou
{
++*m_currentProgress;
boost::array< double, 6 > a;
WValue< double > v( 6 );
WVector_2 v( 6 );
// calculation
for( std::size_t k = 0; k < 6; ++k )
......
......@@ -165,7 +165,7 @@ private:
boost::shared_ptr< TensorPoolType > m_tensorPool;
//! The sh->tensor conversion.
WMatrix< double > m_SHToTensorMat;
WMatrix_2 m_SHToTensorMat;
};
#endif // WMCALCULATETENSORS_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment