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

pastas.noisemodels.NoiseModelBase.weights#

static NoiseModelBase.weights(res, p)[source]#
Return type

int