Skip to content

Commit 7fb6978

Browse files
Niharika KarnikNiharika Karnik
authored andcommitted
Revised PR
1 parent 694ff9e commit 7fb6978

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pysensors/optimizers/_gqr.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class GQR(QR):
1919
reconstruction performance. This is an extension that requires a more intrusive
2020
access to the QR optimizer to facilitate a more adaptive optimization. This is a generalized version of cost constraints
2121
in the sense that users can allow n constrained sensors in the constrained area.
22-
if n = 0 this converges to the CCQR results.
22+
if n = 0 this converges to the CCQR results. If no constraints it converges to QR results.
2323
2424
See the following reference for more information
2525
Manohar, Krithika, et al.
@@ -49,12 +49,12 @@ def __init__(self):
4949
"""
5050
self.pivots_ = None
5151
self.idx_constrained = []
52-
self.n_sensors = 10
52+
self.n_sensors = 0
5353
self.n_const_sensors = 0
5454
self.all_sensors = []
5555
self.constraint_option = ''
56-
self.nx = 64
57-
self.ny = 64
56+
self.nx = None
57+
self.ny = None
5858
self.r = 1
5959

6060
def fit(self,basis_matrix=None,**optimizer_kws):

0 commit comments

Comments
 (0)