Skip to content

Commit

Permalink
Fix mse bug
Browse files Browse the repository at this point in the history
  • Loading branch information
charleskawczynski committed Oct 27, 2021
1 parent 03f2111 commit 92d62b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration_tests/utils/compute_mse.jl
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ function compute_mse(case_name, best_mse, plot_dir; ds_dict, plot_comparison = t

haskey(best_mse, tc_var) || error("No key found in best_mse for variable $tc_var")

if new_variable
if new_variable || best_mse[tc_var] isa String || mse[tc_var] isa String
mse[tc_var] = "NA"
push!(mse_reductions, "NA")
push!(table_best_mse, "NA")
Expand Down

0 comments on commit 92d62b1

Please sign in to comment.