Pressio / pressio

core C++ library
Other
45 stars 7 forks source link

set shift to zero if non affine is selected #636

Closed fnrizzi closed 1 year ago

fnrizzi commented 1 year ago

this is to ensure that any shift vector passed to trial space is set to zero if the trial space is non affine. otherwise, if one passes a temporary vec that could have all sort of weird initializations leading to problems when used