We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3732175 commit e25f99dCopy full SHA for e25f99d
1 file changed
simpeg_drivers/driver.py
@@ -533,6 +533,15 @@ def get_regularization(self):
533
reg_func.norms = [fun.norm for fun in functions]
534
reg_funcs.append(reg_func)
535
536
+ # TODO - To be deprcated on GEOPY-2109
537
+ if getattr(self.params, "gradient_type") is not None:
538
+ for reg in reg_funcs:
539
+ setattr(
540
+ reg,
541
+ "gradient_type",
542
+ getattr(self.params, "gradient_type"),
543
+ )
544
+
545
return objective_function.ComboObjectiveFunction(objfcts=reg_funcs)
546
547
def get_tiles(self):
0 commit comments