The default behavior for adding and solving with noisemodels has changed from Pastas 1.5. Find more information here

pastas.solver.LeastSquares.solve#

LeastSquares.solve(noise=True, weights=None, callback=None, **kwargs)[source]#
Parameters
Return type

Tuple[bool, ArrayLike, ArrayLike]