File: communicator.patch

package info (click to toggle)
rheolef 7.2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 88,012 kB
  • sloc: cpp: 110,259; sh: 16,733; makefile: 5,438; python: 1,391; yacc: 218; javascript: 203; xml: 191; awk: 61; sed: 5
file content (15 lines) | stat: -rw-r--r-- 647 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: rheolef-7.2.old1047655/linalg/lib/communicator.h
===================================================================
--- rheolef-7.2.old1047655.orig/linalg/lib/communicator.h
+++ rheolef-7.2.old1047655/linalg/lib/communicator.h
@@ -109,8 +109,8 @@ struct communicator {
   int rank() const;
 };
 // [verbatim_communicator]
-inline int communicator size() const { return 1; }
-inline int communicator rank() const { return 0; }
+inline int communicator::size() const { return 1; }
+inline int communicator::rank() const { return 0; }
 } // namespace rheolef
 #else
 // -----------------------------------------------------------------------