Fix an invalid array access if WorkVec is reallocated
This branch fixes an invalid array access which may happen if the work vector is reallocated during the assembly of the residual vector because the workspace size was exceeded.
A causa di un intervento di manutenzione il servizio non sarà disponibile il 17/05 dalle 08:30 alle 12:30 (CEST) - The Gitlab service will not be available on May 17th from 08:30 to 12:30 (CEST)
This branch fixes an invalid array access which may happen if the work vector is reallocated during the assembly of the residual vector because the workspace size was exceeded.