mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-25 12:35:29 -04:00
pre c99 compatible endf.c parsing
This commit is contained in:
parent
f87e074c89
commit
d120785bf6
1 changed files with 2 additions and 1 deletions
|
|
@ -22,7 +22,8 @@ double cfloat_endf(const char* buffer, int n)
|
|||
// limit n to 11 characters
|
||||
n = n > 11 ? 11 : n;
|
||||
|
||||
for (int i = 0; i < n; ++i) {
|
||||
int i;
|
||||
for (i = 0; i < n; ++i) {
|
||||
char c = buffer[i];
|
||||
|
||||
// Skip whitespace characters
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue