Skip to content

Commit 134209b

Browse files
committed
Remove reference to structure constraints
1 parent 957da30 commit 134209b

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/axiomatic/pic_helpers.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,6 @@ def print_statements(
259259
or [StatementValidation()] * len(statements.cost_functions or []),
260260
parameter_constraints=(validation.parameter_constraints if validation is not None else None)
261261
or [StatementValidation()] * len(statements.parameter_constraints or []),
262-
structure_constraints=(validation.structure_constraints if validation is not None else None)
263-
or [StatementValidation()] * len(statements.structure_constraints or []),
264262
unformalizable_statements=(validation.unformalizable_statements if validation is not None else None)
265263
or [StatementValidation()] * len(statements.unformalizable_statements or []),
266264
)
@@ -269,8 +267,6 @@ def print_statements(
269267
raise ValueError("Number of cost functions and validations do not match.")
270268
if len(validation.parameter_constraints or []) != len(statements.parameter_constraints or []):
271269
raise ValueError("Number of parameter constraints and validations do not match.")
272-
if len(validation.structure_constraints or []) != len(statements.structure_constraints or []):
273-
raise ValueError("Number of structure constraints and validations do not match.")
274270
if len(validation.unformalizable_statements or []) != len(statements.unformalizable_statements or []):
275271
raise ValueError("Number of unformalizable statements and validations do not match.")
276272

src/axiomatic/types/statement_validation_dictionary.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ class StatementValidationDictionary(UniversalBaseModel):
1313
"""
1414

1515
cost_functions: typing.Optional[typing.List[StatementValidation]] = None
16-
structure_constraints: typing.Optional[typing.List[StatementValidation]] = None
1716
parameter_constraints: typing.Optional[typing.List[StatementValidation]] = None
1817
unformalizable_statements: typing.Optional[typing.List[StatementValidation]] = None
1918

0 commit comments

Comments
 (0)