<html>#1278: Handle inf and nan in parameter file parser
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Erik Schnetter</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>new</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></td></tr>
<tr><td style='text-align:right'>  Version:</td><td></td></tr>
<tr><td style='text-align:right'>     Type:</td><td>bug</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>minor</td></tr>
<tr><td style='text-align:right'>Component:</td><td>Cactus</td></tr>
</table>

<p>Comment (by Roland Haas):</p>
<p>Not sure if that test ever actually tested for NaNs. At least `git log -G [Nn][Aa][Nn]' does not find anything. There is a test in NaNChecker that had to use some extra code to produce NaNs for it to find in git hash <a data-is-external-link="true" href="https://bitbucket.org/cactuscode/cactusutils/commits/837d4260c260870565b8054cdfc2470e96b61d15" rel="nofollow">837d426</a> "NaNChecker: use internally generated NaNs in test case" of <a data-is-external-link="true" href="https://bitbucket.org/cactuscode/cactusutils" rel="nofollow">cactusutils</a> .</p>
<p>Should be enough to have a regex looking for <code>nan</code> and <code>[+-]inf</code> where the current regex expects the numeric part I suspect and (possibly) some extra code in the C++ code to convert those to NaN and inf, if that is not automatically done by the routine used to convert real number strings to double values.</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/1278/handle-inf-and-nan-in-parameter-file'>https://bitbucket.org/einsteintoolkit/tickets/issues/1278/handle-inf-and-nan-in-parameter-file</a></p>
</html>