From 5fb36217a7e7d15639f182860cf59291084efecd Mon Sep 17 00:00:00 2001 From: yishiouchen Date: Tue, 12 Aug 2025 06:39:07 -0700 Subject: [PATCH] Remove extra "else" I got an error message stating "invalid syntax (model.py, line 59"). The "else:" seems unnecessary. --- src/TorchSisso/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TorchSisso/model.py b/src/TorchSisso/model.py index de27311..010be1a 100644 --- a/src/TorchSisso/model.py +++ b/src/TorchSisso/model.py @@ -56,7 +56,7 @@ def __init__(self,data,operators=None,multi_task = None,n_expansion=None,n_term= else: self.dimension = n_term - else: self.sis_features = k + self.sis_features = k self.relational_units = relational_units