From c8ecdb4beecf740a39352051d5312157acee3c3b Mon Sep 17 00:00:00 2001 From: Caner Candan Date: Thu, 27 Jan 2011 10:39:15 +0100 Subject: [PATCH] fixed an issue in eoParallel class Conflicts: eo/src/utils/eoParallel.cpp --- eo/src/utils/eoParallel.cpp | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/eo/src/utils/eoParallel.cpp b/eo/src/utils/eoParallel.cpp index c590c7ad..3ab25e7f 100644 --- a/eo/src/utils/eoParallel.cpp +++ b/eo/src/utils/eoParallel.cpp @@ -66,35 +66,7 @@ void eoParallel::_createParameters( eoParser& parser ) std::string section("Parallelization"); parser.processParam( _isEnabled, section ); parser.processParam( _isDynamic, section ); - - std::string default_value( _prefix.defValue() ); - - if ( _isEnabled.value() ) - { - if ( _isDynamic.value() ) - { - default_value += "_dynamic.out"; - } - else - { - default_value += "_parallel.out"; - } - } - else - { - default_value += "_sequential.out"; - } - - _prefix.defValue( default_value ); - - std::cout << "defvalue: " << _prefix.defValue() << std::endl; - parser.processParam( _prefix, section ); - - std::cout << "value: " << parser.getParamWithLongName("parallelize-prefix")->getValue() << std::endl; - - std::cout << "defvalue: " << _prefix.defValue() << std::endl; - } void make_parallel(eoParser& parser)