Hi PETSc experts,<br><br>When I used the following functions:<br><br>ierr = PCCompositeAddPC(finepc,PCSHELL);CHKERRQ(ierr);<br>ierr = PCCompositeAddPC(finepc,PCASM);CHKERRQ(ierr);<br><br>I got the following warning:<br><br>
joab.c:340: warning: passing argument 2 of ‘PCCompositeAddPC’ discards qualifiers from pointer target type<br>joab.c:341: warning: passing argument 2 of ‘PCCompositeAddPC’ discards qualifiers from pointer target type<br><br>
Can you tell me how to fix it? Thank you.<br><br>Best,<br><br>Rongliang<br><br>UCB<br><br>