Skip to content
Snippets Groups Projects
Commit fa27a83e authored by Lorenzo Moneta's avatar Lorenzo Moneta
Browse files

Fix for 32 bit arch (skip a test which is likely to fail due to use of extended precision)

parent f4bde174
No related branches found
No related tags found
No related merge requests found
...@@ -518,7 +518,10 @@ int testTransform3D() { ...@@ -518,7 +518,10 @@ int testTransform3D() {
Translation3D tr1(v); Translation3D tr1(v);
Translation3D tr2(v.X(),v.Y(),v.Z()); Translation3D tr2(v.X(),v.Y(),v.Z());
// skip this test on 32 bits architecture. It might fail due to extended precision
#if !defined(__i386__)
iret |= compare(tr1 ==tr2, 1,"eq transl",1 ); iret |= compare(tr1 ==tr2, 1,"eq transl",1 );
#endif
Translation3D tr3 = tr1 * tr1.Inverse(); Translation3D tr3 = tr1 * tr1.Inverse();
GlobalPolar3DVector vp2 = tr3 * v; GlobalPolar3DVector vp2 = tr3 * v;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment