<div dir="ltr">On Thu, Sep 5, 2013 at 9:57 AM, Harshad Sahasrabudhe <span dir="ltr"><<a href="mailto:hsahasra@purdue.edu" target="_blank">hsahasra@purdue.edu</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I am trying to compile my code, which uses std:complex<double> with PETSc (Complex) compiled with CUSP. At certain places, we use references to send vectors to PETSc for VecDot. In such a case, I get following errors:<br>
<br>
no known conversion for argument 3 from 'cusp::complex<double>' to 'std::complex<double>&'<br>
<br>
Is there any way to get around these errors other than using PetscScalar instead of std::complex<double>?<br></blockquote><div><br></div><div>Are we supposed to guess where this happens? Please send the entire compile error, and if its in your code, send</div>
<div>a simple code that demonstrates the problem.</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks,<br>
Harshad<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>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>