Commit 1d6caf9d authored by berenger-bramas's avatar berenger-bramas

Removed the typename in testOctreeIter that create errors with some compilers.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/scalfmm/scalfmm/trunk@310 2616d619-271b-44dc-8df4-d4a8f33a7222
parent a5f9c745
......@@ -66,7 +66,7 @@ int main(int , char ** ){
std::cout << "Itering on particles ..." << std::endl;
counterTime.tic();
typename OctreeClass::Iterator octreeIterator(&tree);
OctreeClass::Iterator octreeIterator(&tree);
octreeIterator.gotoBottomLeft();
for(int idxLevel = NbLevels - 1 ; idxLevel >= 1 ; --idxLevel ){
int counter = 0;
......@@ -86,10 +86,10 @@ int main(int , char ** ){
std::cout << "Itering on particles fast ..." << std::endl;
counterTime.tic();
typename OctreeClass::Iterator octreeIterator(&tree);
OctreeClass::Iterator octreeIterator(&tree);
octreeIterator.gotoBottomLeft();
typename OctreeClass::Iterator avoidGoLeft(octreeIterator);
OctreeClass::Iterator avoidGoLeft(octreeIterator);
for(int idx = 0 ; idx < NbLevels - 1; ++idx ){
do{
......
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