[petsc-dev] Unneeded check in TSSetUp?

Stefano Zampini stefano.zampini at gmail.com
Mon Dec 10 06:35:40 CST 2018


In TSSetUp, current master has

if (!ts->vec_sol) SETERRQ(PETSC_COMM_SELF,PETSC_ERR_ARG_WRONGSTATE,"Must
call TSSetSolution() first");

but the function apparently does not make use of it. Would it be safe to
remove the check?

-- 
Stefano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20181210/9708f229/attachment.html>


More information about the petsc-dev mailing list