Skip to content

Commit

Permalink
reenable proper check
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-lara committed May 13, 2024
1 parent 1d966a8 commit 56866f3
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/core/settings.jl
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,10 @@ function Settings(
store_variable_names = false,
ext = Dict{String, Any}(),
)

# if time_series_cache_size > 0 && PSY.stores_time_series_in_memory(sys)
# @info "Overriding time_series_cache_size because time series is stored in memory"
# time_series_cache_size = 0
# end
if time_series_cache_size > 0 && PSY.stores_time_series_in_memory(sys)
@info "Overriding time_series_cache_size because time series is stored in memory"
time_series_cache_size = 0
end

if isa(optimizer, MOI.OptimizerWithAttributes) || optimizer === nothing
optimizer_ = optimizer
Expand Down

0 comments on commit 56866f3

Please sign in to comment.