numru-narray 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4bd339d0deda7f1c268898cd1e15834181e0f37f
4
- data.tar.gz: 5080065f13d385cf1a18c662085fc85f2772c7d7
3
+ metadata.gz: db92ba9962254a39883414ae302128af4deab214
4
+ data.tar.gz: 9645b05469adef3bbe09ff30ddf48ddcabdbbb38
5
5
  SHA512:
6
- metadata.gz: aca35fb06db275ad496a8c283cc195ffb3e582fa88d3d78e845b942109145047fe1ac5fe1182a189225f8024e024fc25b04082294d6a148537f2611a08b0e550
7
- data.tar.gz: 88c71806f10700712447cc17b080d6fe06dfa815fa197aed6f58e6953a8bb7ac5c1c3d39a068da18f1937c332140568e95e1cb4d41a3a167c53043994d316aac
6
+ metadata.gz: c5244ca52d8ebf5e0f0d9750b02ee0e91f960d2eab18c3645e52f21787f53fa47ce7d548bc97476e11c6f5b04bf4c0e076b5dc9be4ffb9ae8a7389342adcfc32
7
+ data.tar.gz: e463b1c0303f4e40f6d09892b45005796f173afc05ec6e4f1e463238a00541b33fd1293fab5f83b5e23f800303080ffc5cc3397341969cc4017ec54cb3ea356d
data/ChangeLog CHANGED
@@ -1,3 +1,63 @@
1
+ 2016-02-12 Seiya Nishizawa <seiya@gfd-dennou.org>
2
+
3
+ * update version
4
+
5
+ 2016-02-12 Seiya Nishizawa <seiya@gfd-dennou.org>
6
+
7
+ * fix different types of the arguments of rb_range_beg_len
8
+
9
+ 2016-02-12 Seiya Nishizawa <seiya@gfd-dennou.org>
10
+
11
+ * change name from NArray-Bigmem to NumRu-NArray
12
+
13
+ 2016-02-12 Seiya Nishizawa <seiya@gfd-dennou.org>
14
+
15
+ * chnage require "numru/narray"
16
+
17
+ 2016-02-12 Seiya Nishizawa <seiya@gfd-dennou.org>
18
+
19
+ * define NArray class under NumRu module
20
+
21
+ 2015-07-09 Seiya Nishizawa <seiya@gfd-dennou.org>
22
+
23
+ * Merge pull request #1 from kouketsu/bugfix_mkop
24
+ * Fix na_cast_real
25
+ 2015-07-09 Shinya KOUKETSU <shinya.kouketsu@gmail.com>
26
+
27
+ * Fix na_cast_real
28
+
29
+ 2015-06-12 Takeshi Horinouchi <horinout>
30
+
31
+ * * debug (re-inserted a line in na_aset_array_index; return value type of na_ary_to_index)
32
+
33
+ 2015-05-23 Seiya Nishizawa <seiya@gfd-dennou.org>
34
+
35
+ * bugfix for #min and #max
36
+
37
+ 2015-01-23 Seiya Nishizawa <seiya@gfd-dennou.org>
38
+
39
+ * update NARRAYBIGMEM_VERSION to 0.0.1
40
+
41
+ 2015-01-23 Seiya Nishizawa <seiya@gfd-dennou.org>
42
+
43
+ * bugfix in interval of memory access. e.g. transpose
44
+
45
+ 2015-01-22 Seiya Nishizawa <seiya@gfd-dennou.org>
46
+
47
+ * change typecode string for integer as before
48
+
49
+ 2015-01-22 Seiya Nishizawa <seiya@gfd-dennou.org>
50
+
51
+ * change directory structure and gemfile
52
+
53
+ 2015-01-21 Seiya Nishizawa <seiya@gfd-dennou.org>
54
+
55
+ * add code the paches for compatibility for the original NArray
56
+
57
+ 2015-01-21 Seiya Nishizawa <seiya@gfd-dennou.org>
58
+
59
+ * update ChangeLog from git log
60
+
1
61
  2015-01-21 Seiya Nishizawa <seiya@gfd-dennou.org>
2
62
 
3
63
  * add mkchangelog.sh to create ChangeLog from git log
@@ -1008,9 +1008,6 @@ static VALUE
1008
1008
  /*
1009
1009
  ------- Sum, Min, Max, Transpose --------
1010
1010
  */
1011
- VALUE
1012
- rb_range_beg_len(VALUE range, na_shape_t *begp, na_shape_t *lenp, na_shape_t len, int err );
1013
-
1014
1011
  static int
1015
1012
  na_arg_to_rank(int argc, VALUE *argv, int rankc, int *rankv, int flag)
1016
1013
  /* e.g.: argv=[1,3..5]
@@ -1021,6 +1018,7 @@ static int
1021
1018
  */
1022
1019
  {
1023
1020
  int i, j, c=0;
1021
+ long lr, ln;
1024
1022
  na_shape_t r, n;
1025
1023
  VALUE v;
1026
1024
 
@@ -1046,7 +1044,9 @@ static int
1046
1044
  }
1047
1045
  else
1048
1046
  if (CLASS_OF(v)==rb_cRange) {
1049
- rb_range_beg_len( v, &r, &n, rankc, 1 );
1047
+ rb_range_beg_len( v, &lr, &ln, rankc, 1 );
1048
+ r = (na_shape_t) lr;
1049
+ n = (na_shape_t) ln;
1050
1050
  if ( c+n > rankc )
1051
1051
  rb_raise(rb_eArgError, "too many ranks");
1052
1052
  if (flag) {
@@ -27,8 +27,8 @@
27
27
  #define NARRAY_VERSION "0.6.0.8"
28
28
  #define NARRAY_VERSION_CODE 608
29
29
 
30
- #define NUMRU_NARRAY_VERSION "1.0.0"
31
- #define NUMRU_NARRAY_VERSION_CODE 100
30
+ #define NUMRU_NARRAY_VERSION "1.0.1"
31
+ #define NUMRU_NARRAY_VERSION_CODE 101
32
32
 
33
33
  /* big memory support */
34
34
  #define NARRAY_BIGMEM 1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: numru-narray
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seiya Nishizawa