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
change way disks are managed in the XML parsing
[simgrid.git]
/
src
/
bindings
/
lua
/
lua_platf.cpp
diff --git
a/src/bindings/lua/lua_platf.cpp
b/src/bindings/lua/lua_platf.cpp
index
865f501
..
d569454
100644
(file)
--- a/
src/bindings/lua/lua_platf.cpp
+++ b/
src/bindings/lua/lua_platf.cpp
@@
-210,7
+210,8
@@
int console_add_host(lua_State *L) {
host.state_trace = simgrid::kernel::profile::Profile::from_file(filename);
lua_pop(L, 1);
- sg_platf_new_host(&host);
+ sg_platf_new_host_begin(&host);
+ sg_platf_new_host_seal(0);
return 0;
}