[MOAB-dev] commit/MOAB: iulian07: file missing in distribution and pgi compiler needs a double or float in sqrt

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Fri Sep 13 07:39:41 CDT 2013


1 new commit in MOAB:

https://bitbucket.org/fathomteam/moab/commits/d499b419b3d3/
Changeset:   d499b419b3d3
Branch:      master
User:        iulian07
Date:        2013-09-13 14:37:14
Summary:     file missing in distribution and pgi compiler needs a double or float in sqrt

Affected #:  2 files

diff --git a/src/Makefile.am b/src/Makefile.am
index ab5077a..de77a06 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -157,6 +157,7 @@ nobase_libMOAB_la_include_HEADERS = \
   moab/EntityHandle.hpp \
   moab/FBEngine.hpp \
   moab/FileOptions.hpp \
+  moab/FindPtFuncs.h \
   moab/Forward.hpp \
   moab/GeomUtil.hpp \
   moab/Interface.hpp \

diff --git a/test/test_boundbox.cpp b/test/test_boundbox.cpp
index d3c8c3d..9fe0357 100644
--- a/test/test_boundbox.cpp
+++ b/test/test_boundbox.cpp
@@ -90,7 +90,7 @@ void test_bound_box()
   double diagsq = box.diagonal_squared();
   CHECK_REAL_EQUAL(diagsq, 192.0, tol);
   double diag = box.diagonal_length();
-  CHECK_REAL_EQUAL(diag, sqrt(3)*8.0, tol);
+  CHECK_REAL_EQUAL(diag, sqrt(3.0)*8.0, tol);
   
     // check distance function

Repository URL: https://bitbucket.org/fathomteam/moab/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.


More information about the moab-dev mailing list