From 457e9b06730fc75f622247a699e446f7860e8b50 Mon Sep 17 00:00:00 2001 From: 88d52bdba0366127fffca9dfa93895 Date: Tue, 5 Dec 2023 22:05:43 +0700 Subject: [PATCH] print debug --- pypfopt/cla.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pypfopt/cla.py b/pypfopt/cla.py index 85ce27ff..c83e9a63 100644 --- a/pypfopt/cla.py +++ b/pypfopt/cla.py @@ -163,7 +163,7 @@ def _compute_lambda(self, covarF_inv, covarFB, meanF, wB, i, bi): if c == 0: # pragma: no cover return None, None # 2) bi - if type(bi) == list: + if isinstance(type(bi), list): bi = self._compute_bi(c, bi) # 3) Lambda if wB is None: