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
start initializing routing fields in the constructors, not with a shotgun
[simgrid.git]
/
src
/
surf
/
surf_routing_vivaldi.cpp
diff --git
a/src/surf/surf_routing_vivaldi.cpp
b/src/surf/surf_routing_vivaldi.cpp
index
69899fc
..
c22d2f5
100644
(file)
--- a/
src/surf/surf_routing_vivaldi.cpp
+++ b/
src/surf/surf_routing_vivaldi.cpp
@@
-24,6
+24,9
@@
static XBT_INLINE double euclidean_dist_comp(int index, xbt_dynar_t src, xbt_dyn
namespace simgrid {
namespace surf {
+ AsVivaldi::AsVivaldi(const char *name)
+ : AsGeneric(name)
+ {}
void AsVivaldi::getRouteAndLatency(NetCard *src, NetCard *dst, sg_platf_route_cbarg_t route, double *lat)
{