Spaces:
Running
Running
MilesCranmer
commited on
Commit
•
cf19d41
1
Parent(s):
3dbb2ea
Catch for when nout_ > 1
Browse files- pysr/sr.py +4 -0
pysr/sr.py
CHANGED
@@ -2003,6 +2003,10 @@ class PySRRegressor(MultiOutputMixin, RegressorMixin, BaseEstimator):
|
|
2003 |
latex_table_string : str
|
2004 |
A string that will render a table in LaTeX of the equations.
|
2005 |
"""
|
|
|
|
|
|
|
|
|
2006 |
if indices is None:
|
2007 |
indices = range(len(self.equations_))
|
2008 |
latex_table_pieces = [
|
|
|
2003 |
latex_table_string : str
|
2004 |
A string that will render a table in LaTeX of the equations.
|
2005 |
"""
|
2006 |
+
if self.nout_ > 1:
|
2007 |
+
raise NotImplementedError(
|
2008 |
+
"LaTeX tables are not implemented for multiple outputs."
|
2009 |
+
)
|
2010 |
if indices is None:
|
2011 |
indices = range(len(self.equations_))
|
2012 |
latex_table_pieces = [
|