File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -425,4 +425,4 @@ def _check_cost_function_minimized(
425425 + lam * anomalies_norm
426426 )
427427 if value_start + 1e-4 <= value_end :
428- raise CostFunctionRPCANotMinimized (function_str , value_start , value_end )
428+ raise CostFunctionRPCANotMinimized (function_str , float ( value_start ), float ( value_end ) )
Original file line number Diff line number Diff line change @@ -114,4 +114,4 @@ def _check_cost_function_minimized(
114114 value_end = np .linalg .norm (low_rank , "nuc" ) + lam * np .sum (np .abs (anomalies ))
115115 if value_start + 1e-4 <= value_end :
116116 function_str = "||D||_* + lam ||A||_1"
117- raise CostFunctionRPCANotMinimized (function_str , value_start , value_end )
117+ raise CostFunctionRPCANotMinimized (function_str , float ( value_start ), float ( value_end ) )
You can’t perform that action at this time.
0 commit comments