Commit 59dee724 authored by EYRAUD-DUBOIS Lionel's avatar EYRAUD-DUBOIS Lionel

Debug: make sure nothing fails when asking for comms with .pm format

parent 2f167aed
......@@ -80,6 +80,9 @@ Instance::Instance(const string input_file, int convertIndices) {
isIndependent = false;
}
itemsRequired.resize(nbTasks);
itemsProduced.resize(nbTasks);
int nbTaskNames = readArray(input, taskIDs);
if(nbTaskNames != -1 && nbTaskNames != 0 && nbTaskNames != nbTasks) {
cerr << "Task Names do not have the correct length: " << nbTaskNames << " and not " << nbTasks << endl;
......
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