Skip to content

Commit

Permalink
Fix math docs decision variable domain symbol (#674)
Browse files Browse the repository at this point in the history
  • Loading branch information
brynpickering authored Sep 6, 2024
1 parent 1b7b04f commit feeea3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@

### User-facing changes

|fixed| clarity of `flow_cap_min` description in documentation (#653).

|fixed| Decision variable domain in math docs to use $\in$ instead of $\forall$ (#652).

|fixed| Clarity of `flow_cap_min` description in documentation (#653).

|changed| API/schema documentation is de-ranked in documentation search bar results (#670).

Expand Down
2 changes: 1 addition & 1 deletion src/calliope/backend/latex_backend_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ def _variable_setter(where: xr.DataArray, references: set) -> xr.DataArray:
self._update_references(name, bound_refs.difference(name))

self._generate_math_string(
parsed_component, var_da, equations=[lb, ub], sense=r"\forall" + domain
parsed_component, var_da, equations=[lb, ub], sense=r"\in" + domain
)

def add_objective( # noqa: D102, override
Expand Down

0 comments on commit feeea3a

Please sign in to comment.