rbmetis 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5433b1d86d01190927c49c86cda5eed1998be763
4
- data.tar.gz: d55dee2fd223df626a49e6af417d1e6510555500
3
+ metadata.gz: 1140fe5e4704f8ab8fe8d8d9756d79c15bc3ba16
4
+ data.tar.gz: 03c4337c34e6869e0e804fe1339ed28dbeaa379b
5
5
  SHA512:
6
- metadata.gz: f9ebf715454c18fa326bbb7caa86e6faa6e702f0f23d1cf849268e797649558280e90b823c4b5dfb9a713ee6669f2302b6e7909b335fd7e193c6151051d994b5
7
- data.tar.gz: ba2528e45fd9c64a43b8b8cb58b03b9e5851912900026bb76b9b6bd64b4e0f0c12d29ebb90daf295708ca0458eade3d85845e62667880fe2754f7c60cb1770b6
6
+ metadata.gz: 4e55d2acb6a365b7fb4aa9c19e142b891d476f893120498f4b97ea7f7c6817f5c4fa1dcc577527996cab1da254de18fe62a8067f21c5f0f97f8e5ae2695ff2d9
7
+ data.tar.gz: 2071c83c161444dcb09d26686c7f6d9ab1db110ea39e552268d2908176a211d652b719e4600cb32ef4bfea62ae7eeb27c43d2b9324d4f2de2b4ebe3804dc3708
data/README.md CHANGED
@@ -26,7 +26,7 @@ cd to tree top and run:
26
26
 
27
27
  * Required METIS files:
28
28
  * C header: metis.h
29
- * Library: libmetis.so or libmetis.a
29
+ * Library: libmetis.so
30
30
 
31
31
  * option for extconf.rb
32
32
 
@@ -16,7 +16,7 @@ module RbMetis
16
16
  #/*! Operation type codes */
17
17
  OP_PMETIS,
18
18
  OP_KMETIS,
19
- OP_OMETIS = 0..2
19
+ OP_OMETIS = (0..2).to_a
20
20
 
21
21
  #/*! Options codes (i.e., options[]) */
22
22
  OPTION_PTYPE,
@@ -44,32 +44,32 @@ module RbMetis
44
44
  OPTION_NOOUTPUT,
45
45
  OPTION_BALANCE,
46
46
  OPTION_GTYPE,
47
- OPTION_UBVEC = 0..25
47
+ OPTION_UBVEC = (0..25).to_a
48
48
 
49
49
  # /*! Partitioning Schemes */
50
50
  PTYPE_RB,
51
- PTYPE_KWAY = 0..1
51
+ PTYPE_KWAY = (0..1).to_a
52
52
 
53
53
  # /*! Graph types for meshes */
54
54
  GTYPE_DUAL,
55
- GTYPE_NODAL = 0..1
55
+ GTYPE_NODAL = (0..1).to_a
56
56
 
57
57
  # /*! Coarsening Schemes */
58
58
  CTYPE_RM,
59
- CTYPE_SHEM = 0..1
59
+ CTYPE_SHEM = (0..1).to_a
60
60
 
61
61
  # /*! Initial partitioning schemes */
62
62
  IPTYPE_GROW,
63
63
  IPTYPE_RANDOM,
64
64
  IPTYPE_EDGE,
65
65
  IPTYPE_NODE,
66
- IPTYPE_METISRB = 0..4
66
+ IPTYPE_METISRB = (0..4).to_a
67
67
 
68
68
  # /*! Refinement schemes */
69
69
  RTYPE_FM,
70
70
  RTYPE_GREEDY,
71
71
  RTYPE_SEP2SIDED,
72
- RTYPE_SEP1SIDED = 0..3
72
+ RTYPE_SEP1SIDED = (0..3).to_a
73
73
 
74
74
  # /*! Debug Levels */
75
75
  DBG_INFO = 1
@@ -86,7 +86,7 @@ module RbMetis
86
86
  # /* Types of objectives */
87
87
  OBJTYPE_CUT,
88
88
  OBJTYPE_VOL,
89
- OBJTYPE_NODE = 0..2
89
+ OBJTYPE_NODE = (0..2).to_a
90
90
 
91
91
  # @visibility private
92
92
  module Lib
@@ -1,3 +1,3 @@
1
1
  module RbMetis
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbmetis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masahiro TANAKA
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-22 00:00:00.000000000 Z
11
+ date: 2014-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler