- if (!TRACE_smpi_is_grouped()){
- type_t mpi = PJ_type_get_or_null ("MPI", root->type);
- if (mpi == NULL){
- mpi = PJ_type_container_new("MPI", root->type);
- PJ_type_state_new ("MPI_STATE", mpi);
- PJ_type_link_new ("MPI_LINK", PJ_type_get_root(), mpi, mpi);
- }
+ type_t mpi = PJ_type_get_or_null ("MPI", root->type);
+ if (mpi == nullptr){
+ mpi = PJ_type_container_new("MPI", root->type);
+ if (!TRACE_smpi_is_grouped()) PJ_type_state_new ("MPI_STATE", mpi);
+ PJ_type_link_new ("MPI_LINK", PJ_type_get_root(), mpi, mpi);