fixed an issue in eoParallel class
Conflicts: eo/src/utils/eoParallel.cpp
This commit is contained in:
parent
03600594c4
commit
c8ecdb4bee
1 changed files with 0 additions and 28 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Reference in a new issue