Skip to content

Commit 675872c

Browse files
committed
Changing names and revising notebooks, fixing pre commit issues
1 parent f3914a7 commit 675872c

9 files changed

+2870
-3117
lines changed

examples/simulation_constrained_sensing.ipynb renamed to examples/OPTI-TWIST_constrained_sensing.ipynb

Lines changed: 18 additions & 11 deletions
Large diffs are not rendered by default.

examples/functional_constraints_class.ipynb renamed to examples/Olivetti_constrained_sensing.ipynb

Lines changed: 329 additions & 677 deletions
Large diffs are not rendered by default.
File renamed without changes.

examples/spatial_constrained_qr.ipynb

Lines changed: 2339 additions & 0 deletions
Large diffs are not rendered by default.

examples/spatially_constrained_qr.ipynb

Lines changed: 0 additions & 2290 deletions
This file was deleted.

pysensors/utils/_constraints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1492,7 +1492,7 @@ def draw(self, ax, **kwargs):
14921492
self.all_sensors, self.data
14931493
)
14941494
for k in range(len(xValue)):
1495-
G[k, i] = eval(
1495+
G[k, i] = not eval(
14961496
self.equations[i], {"x": xValue[k], "y": yValue[k]}
14971497
)
14981498
idx_const, rank = (

0 commit comments

Comments
 (0)