Added packet size to parallel parser and default argument to static assignment.
This commit is contained in:
parent
472b86bc68
commit
d805800731
3 changed files with 6 additions and 1 deletions
|
|
@ -114,13 +114,14 @@ namespace eo
|
|||
init( workers, runs );
|
||||
}
|
||||
|
||||
StaticAssignmentAlgorithm( int runs )
|
||||
StaticAssignmentAlgorithm( int runs = 0 )
|
||||
{
|
||||
std::vector<int> workers;
|
||||
for(int i = 1; i < Node::comm().size(); ++i)
|
||||
{
|
||||
workers.push_back( i );
|
||||
}
|
||||
|
||||
init( workers, runs );
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue