Skip to content
Snippets Groups Projects
Commit b891191b authored by ivar's avatar ivar
Browse files

bug in serial_least_squares. self.KG[-1]==0. should become self.KG[-1]=0.

parent c22c4e6c
Branches
No related tags found
No related merge requests found
......@@ -118,9 +118,9 @@ class CO2Optimizer(Optimizer):
self.KG[:] = PHt / self.HPHR[n]
if 'surface' in self.sitecode[n]:
self.KG[-1]==0.
self.KG[-1]=0.
if 'aircraft' in self.sitecode[n]:
self.KG[:-1]==0.
self.KG[:-1]=0.
if self.may_localize[n]:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment