Commit 03924acd authored by brugger's avatar brugger

1) I corrected a cast that was added to remove a warning that was causing

   the compiler to calculate a normalized normal differently, which was
   causing a few test suite failures. 

2) I modified the setting of the *_RELEASE flags that gets passed to cmake
   when running the regression suite on edge to add back the "-O3" that Mark 
   just removed. He changed it as a result of some bad information I gave him.



git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@23787 18c085ea-50e0-402c-830e-de6fd14e8384
parent c4c73fc0
......@@ -238,8 +238,8 @@ fi
-DVISIT_BUILD_ALL_PLUGINS=1 \
-DVISIT_DATA_MANUAL_EXAMPLES:BOOL=ON \
-DIGNORE_THIRD_PARTY_LIB_PROBLEMS:BOOL=ON \
-DCMAKE_CXX_FLAGS_RELEASE:STRING="-DNDEBUG -Wall -pedantic -Wextra -Wno-long-long -Wno-unused-parameter" \
-DCMAKE_C_FLAGS_RELEASE:STRING="-DNDEBUG -Wall -pedantic -Wextra -Wno-long-long -Wno-unused-parameter" \
-DCMAKE_CXX_FLAGS_RELEASE:STRING="-O3 -DNDEBUG -Wall -pedantic -Wextra -Wno-long-long -Wno-unused-parameter" \
-DCMAKE_C_FLAGS_RELEASE:STRING="-O3 -DNDEBUG -Wall -pedantic -Wextra -Wno-long-long -Wno-unused-parameter" \
-DCMAKE_MAKE_PROGRAM:FILEPATH="/usr/gapps/visit/gmake/4.0/chaos_5_x86_64_ib/bin/make" \
. >> ../buildlog 2>&1
rm -rf ../make.out ../make.err
......
......@@ -584,9 +584,9 @@ vtkVisItPolyDataNormals::ExecutePointWithSplitting(vtkPolyData *input,
if (length == 0) continue;
// Store the normalized version separately
float nnormal[3] = {(float)nx/length,
(float)ny/length,
(float)nz/length};
float nnormal[3] = {(float)(nx/length),
(float)(ny/length),
(float)(nz/length)};
// Loop over all points of the cell, deciding if we need
// to split it or can merge with an old one. Use the feature
......
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