<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hi,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">I am trying to compare two PetscScalar values, but am getting this error:</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="font-family: Consolas, Courier, monospace; font-size: 10pt;">error: no operator "<" matches these operands</span></div>
<div><span style="font-family: Consolas, Courier, monospace; font-size: 10pt;">operand types are: PetscScalar < PetscScalar</span></div>
<div><span style="font-family: Consolas, Courier, monospace;"><br>
</span></div>
<div>Please do share if you know how to resolve this error.</div>
<div><br>
</div>
<div>Sincerely,</div>
<div>Devyani</div>
<br>
<p></p>
</div>
</body>
</html>