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
stupid me. col means row in french, so use line/row and not row/col, which means...
[simgrid.git]
/
examples
/
gras
/
mmrpc
/
mmrpc_client.c
diff --git
a/examples/gras/mmrpc/mmrpc_client.c
b/examples/gras/mmrpc/mmrpc_client.c
index
edab230
..
2e45edb
100644
(file)
--- a/
examples/gras/mmrpc/mmrpc_client.c
+++ b/
examples/gras/mmrpc/mmrpc_client.c
@@
-56,7
+56,7
@@
int client(int argc,char *argv[]) {
/* 7. Prepare and send the request to the server */
/* 7. Prepare and send the request to the server */
- request[0].
rows=request[0].cols=request[1].rows=request[1].col
s=MATSIZE;
+ request[0].
lines=request[0].rows=request[1].lines=request[1].row
s=MATSIZE;
request[0].ctn=xbt_malloc0(sizeof(double)*MATSIZE*MATSIZE);
request[1].ctn=xbt_malloc0(sizeof(double)*MATSIZE*MATSIZE);
request[0].ctn=xbt_malloc0(sizeof(double)*MATSIZE*MATSIZE);
request[1].ctn=xbt_malloc0(sizeof(double)*MATSIZE*MATSIZE);