gs2crmod 0.11.99 → 0.11.100

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.11.99
1
+ 0.11.100
data/gs2crmod.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "gs2crmod"
8
- s.version = "0.11.99"
8
+ s.version = "0.11.100"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Edmund Highcock", "Ferdinand van Wyk"]
@@ -669,7 +669,7 @@ alias :ctehfa :calculate_transient_es_heat_flux_amplifications
669
669
 
670
670
  def calculate_transient_amplification(vector, options={})
671
671
  if @g_exb_start_timestep
672
- return GSL::Sf::log(vector[@g_exb_start_timestep/@nwrite...-1].max / vector[@g_exb_start_timestep])/2
672
+ return GSL::Sf::log(vector[(@g_exb_start_timestep/@nwrite).to_i...-1].max / vector[(@g_exb_start_timestep/@nwrite).to_i])/2
673
673
  else
674
674
  eputs "Warning: set g_exb_start_timestep to calculate transient amplifications."
675
675
  return 0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gs2crmod
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.99
4
+ version: 0.11.100
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: