From 56866f38643307926b413249f4b75149875ea401 Mon Sep 17 00:00:00 2001 From: Jose Daniel Lara Date: Sun, 12 May 2024 23:02:54 -0600 Subject: [PATCH] reenable proper check --- src/core/settings.jl | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/core/settings.jl b/src/core/settings.jl index bd1a08806c..d9dd095cbc 100644 --- a/src/core/settings.jl +++ b/src/core/settings.jl @@ -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