<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div class="">Done. Please check <a href="https://gitlab.com/petsc/petsc/-/merge_requests/3583" class="">https://gitlab.com/petsc/petsc/-/merge_requests/3583</a></div>
<div class=""><br class="">
</div>
Sorry for any disturbance it caused. It was for the convenience of the adjoint implementation. The stages returned by TSGetStages_Theta currently do not reflect the true stages associated with these methods. The endpoint variant actually has two stages. This
 will be changed in a separate forthcoming MR, where TSRestoreStages() will be added and TSGetStages will return an array of vectors for the endpoint variant.
<div class=""><br class="">
</div>
<div class="">Hong   <br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Jan 21, 2021, at 4:16 AM, Stefano Zampini <<a href="mailto:stefano.zampini@gmail.com" class="">stefano.zampini@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Hong,
<div class=""><br class="">
</div>
<div class="">I do not understand why you changed the behavior of TSGetStages_Theta
<a href="https://gitlab.com/petsc/petsc/-/merge_requests/3500/diffs#a582bbaec75f4ae14bbf97d1d0404073ca89ff09_1194_1209" class="">
https://gitlab.com/petsc/petsc/-/merge_requests/3500/diffs#a582bbaec75f4ae14bbf97d1d0404073ca89ff09_1194_1209</a> with this MR
<a href="https://gitlab.com/petsc/petsc/-/merge_requests/3500" class="">https://gitlab.com/petsc/petsc/-/merge_requests/3500</a> 
<div class="">
<div class=""><br class="">
</div>
<div class="">Now, the non-endpoint variant does no longer use th->X as stage!</div>
<div class=""><br class="">
</div>
<div class="">Please revert this change</div>
<div class="">Thanks</div>
-- <br class="">
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Stefano</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>