<div dir="ltr"><div dir="ltr">On Thu, May 21, 2020 at 3:25 PM Sam Guo <<a href="mailto:sam.guo@cd-adapco.com">sam.guo@cd-adapco.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear PETSc dev team,<div>   I got following error of compiling complex:</div><div>../../../petsc/src/ksp/pc/impls/tfs/ivec.c: In function ‘PCTFS_rvec_max’:<br>../../../petsc/include/petscmath.h:532:30: error: invalid operands to binary < (have ‘PetscScalar’ {aka ‘_Complex double’} and ‘PetscScalar’ {aka ‘_Complex double’})<br>  532 | #define PetscMax(a,b)   (((a)<(b)) ?  (b) : (a))</div><div><br></div><div>   Any idea what I did wrong? I am using version 3.11.3.</div></div></blockquote><div><br></div><div>Can you upgrade to 3.13?</div><div><br></div><div>  Thanks,</div><div><br></div><div>    Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Thanks,</div><div>Sam</div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>