Skip to content

Commit

Permalink
Fix 32 bit error
Browse files Browse the repository at this point in the history
  • Loading branch information
davidanthoff committed Dec 13, 2020
1 parent ea6f6a6 commit 959a62a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/MimiFAIR.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ include("components/temperature.jl")
include("components/total_rf.jl")
include("components/trop_o3_rf.jl")

function get_model(;rcp_scenario::String="RCP85", start_year::Int64=1765, end_year::Int64=2500, F2x::Float64=3.71, TCR::Float64=1.6, ECS::Float64=2.75, d::Array{Float64,1}=[239.0, 4.1])
function get_model(;rcp_scenario::String="RCP85", start_year::Int=1765, end_year::Int=2500, F2x::Float64=3.71, TCR::Float64=1.6, ECS::Float64=2.75, d::Array{Float64,1}=[239.0, 4.1])

# ---------------------------------------------
# Set up some data.
Expand Down
2 changes: 1 addition & 1 deletion src/helper_functions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ end
# rcp_scenario: A string indicating which RCP scenario to use ("RCP26", "RCP45", "RCP60", & "RCP85").
#----------------------------------------------------------------------------------------------------------------------

function load_fair_data(start_year::Int64, end_year::Int64, rcp_scenario::String)
function load_fair_data(start_year::Int, end_year::Int, rcp_scenario::String)

# Calculate indicies to extract RCP data (RCP data spans 1765-2500)
start_index, end_index = findall((in)([start_year, end_year]), collect(1765:2500))
Expand Down

0 comments on commit 959a62a

Please sign in to comment.