-/* Copyright (c) 2013-2020. The SimGrid Team.
+/* Copyright (c) 2013-2021. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
/* load the DOT file */
dot = SD_PTG_dotload(argv[2]);
- if(dot == NULL){
- xbt_die("No dot load may be you have a cycle in your graph");
- }
+ xbt_assert(dot != NULL, "No dot load may be you have a cycle in your graph");
/* Display all the tasks */
XBT_INFO("------------------- Display all tasks of the loaded DAG ---------------------------");