BOAST 0.7 → 0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/BOAST.gemspec +1 -1
  2. data/lib/BOAST/Algorithm.rb +2 -2
  3. metadata +2 -2
data/BOAST.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'BOAST'
3
- s.version = "0.7"
3
+ s.version = "0.8"
4
4
  s.author = "Brice Videau"
5
5
  s.email = "brice.videau@imag.fr"
6
6
  s.homepage = "https://forge.imag.fr/projects/boast/"
@@ -478,7 +478,7 @@ module BOAST
478
478
  attr_accessor :force_replace_constant
479
479
 
480
480
  def initialize(name,type,hash={})
481
- @name = name
481
+ @name = name.to_s
482
482
  @direction = hash[:direction] ? hash[:direction] : hash[:dir]
483
483
  @constant = hash[:constant] ? hash[:constant] : hash[:const]
484
484
  @dimension = hash[:dimension] ? hash[:dimension] : hash[:dim]
@@ -527,7 +527,7 @@ module BOAST
527
527
  s += "_wp" if BOAST::get_lang == FORTRAN and @type and @type.size == 8
528
528
  return s
529
529
  end
530
- return @name.to_str
530
+ return @name
531
531
  end
532
532
 
533
533
  def to_var
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: BOAST
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.7'
4
+ version: '0.8'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-05-14 00:00:00.000000000 Z
12
+ date: 2014-06-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: narray