Skip to content

call Vector::removePetsc() inside Vector::clear()

Nicolas Marsic requested to merge fixVectorClear into master

Hi once more :)!

Vector::clear() does not call Vector::removePetsc(), which leads to some errors in the Schwarz code (when calling many solves).

Was it intended to call both clear() and removePetsc() separately? If not, here's the all-in-one call.

Cheers, Nicolas.

Merge request reports