/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
+#include "src/smpi/private.h"
#include "src/smpi/smpi_f2c.hpp"
#include "src/smpi/smpi_process.hpp"
if(f2c_lookup_==nullptr){
f2c_lookup_=xbt_dict_new_homogeneous(nullptr);
}
- char key[KEY_SIZE];
if(id >= 0){
+ char key[KEY_SIZE];
return static_cast<F2C*>(xbt_dict_get_or_null(f2c_lookup_, get_key(key, id)));
}else
return NULL;