A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improve an error message
[simgrid.git]
/
src
/
surf
/
sg_platf.cpp
diff --git
a/src/surf/sg_platf.cpp
b/src/surf/sg_platf.cpp
index
a5ce276
..
f192754
100644
(file)
--- a/
src/surf/sg_platf.cpp
+++ b/
src/surf/sg_platf.cpp
@@
-431,7
+431,7
@@
void sg_platf_new_actor(simgrid::kernel::routing::ActorCreationArgs* actor)
xbt_die("%s", msg.c_str());
}
simgrid::simix::ActorCodeFactory& factory = SIMIX_get_actor_code_factory(actor->function);
xbt_die("%s", msg.c_str());
}
simgrid::simix::ActorCodeFactory& factory = SIMIX_get_actor_code_factory(actor->function);
- xbt_assert(factory, "
Function '%s' unknown
", actor->function);
+ xbt_assert(factory, "
Error while creating an actor from the XML file: Function '%s' not registered
", actor->function);
double start_time = actor->start_time;
double kill_time = actor->kill_time;
double start_time = actor->start_time;
double kill_time = actor->kill_time;