<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 2, 2013 at 3:28 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":2cs">   Can one just cast the PETSC_DEFAULT in the comparison?<br>
<br>
> if (method==(MPChacoEigenType)PETSC_DEFAULT)<br>
<br>
or are C compilers too damn smart for their own good now?<br></div></blockquote><div><br></div><div style>Or cast the other way, but how would that "invalid" value get set in the first place. Just because we can evade the type system doesn't mean we should.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":2cs">
<br>
   Barry<br>
<br>
I'm to lazy to install chaco and try it myself</div></blockquote></div><br><br></div></div>