narray_miss 1.2.6 → 1.2.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  NArrayMiss is copyrighted free software by Seiya Nishizawa and GFD
2
2
  Dennou Club (http://www.gfd-dennou.org/).
3
3
 
4
- Copyright 2001 (C) Seiya Nishizawa and GFD Dennou Club
4
+ Copyright 2001-2012 (C) Seiya Nishizawa and GFD Dennou Club
5
5
  (http://www.gfd-dennou.org/) All rights reserved.
6
6
 
7
7
  Redistribution and use in source and binary forms, with or without
data/Rakefile CHANGED
@@ -1,3 +1,4 @@
1
+ require 'rbconfig' unless defined? RbConfig
1
2
  begin
2
3
  require "bundler/gem_tasks"
3
4
  require "rake/testtask"
@@ -9,7 +10,7 @@ end
9
10
 
10
11
 
11
12
  destdir = ENV["DESTDIR"] || ""
12
- sitelibdir = ENV["SITELIBDIR"] || Config::CONFIG["sitelibdir"]
13
+ sitelibdir = ENV["SITELIBDIR"] || RbConfig::CONFIG["sitelibdir"]
13
14
 
14
15
  LIBS = FileList["lib/**/*rb"]
15
16
 
@@ -590,7 +590,7 @@ go back to ((<Index>))
590
590
  # 整数型の場合は浮動小数型へ変換
591
591
  ary0 = self.integer? ? self.to_type(NArray::DFLOAT) : self
592
592
  NArrayMiss.reduction(@mask, min_count, dims, true, typecode) do |count_sum, count_accum|
593
- var = ary0.sum(*dims)/count_sum
593
+ ary0.sum(*dims)/count_sum
594
594
  end
595
595
  end
596
596
  def stddev(*dims)
@@ -1509,7 +1509,7 @@ module NMMath
1509
1509
  NMMath.#{operator}(*x)
1510
1510
  end
1511
1511
  EOL
1512
- end
1512
+ end
1513
1513
 
1514
1514
  end
1515
1515
 
@@ -1,3 +1,3 @@
1
1
  class NArrayMiss
2
- VERSION = "1.2.6"
2
+ VERSION = "1.2.7"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: narray_miss
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 6
10
- version: 1.2.6
9
+ - 7
10
+ version: 1.2.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Seiya Nishizawa
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-02-18 00:00:00 Z
18
+ date: 2012-03-27 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: narray