Explorar o código

drop spurious extra size

Samuel Thibault %!s(int64=9) %!d(string=hai) anos
pai
achega
5d82bf9e30
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/simgrid.c

+ 1 - 1
src/core/simgrid.c

@@ -549,7 +549,7 @@ int _starpu_simgrid_transfer(size_t size, unsigned src_node, unsigned dst_node,
 	hosts[1] = _starpu_simgrid_memory_node_get_host(dst_node);
 	STARPU_ASSERT(hosts[0] != hosts[1]);
 	if (size)
-		communication[1] = size+0.000001;
+		communication[1] = size;
 	else
 		/* Simgrid does not like 0-bytes transfers, fake one byte */
 		communication[1] = 1;