Skip to content

Commit

Permalink
CHANGELOG, cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
brryan committed Oct 20, 2023
1 parent 2e72486 commit c0b9818
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
- [[PR 868]](https://github.com/parthenon-hpc-lab/parthenon/pull/868) Add block-local face, edge, and nodal fields and allow for packing

### Changed (changing behavior/API/variables/...)
- [[PR 965]](https://github.com/parthenon-hpc-lab/parthenon/pull/965) Allow leading whitespace in input parameters
- [[PR 926]](https://github.com/parthenon-hpc-lab/parthenon/pull/926) Internal refinement op registration
- [[PR 897]](https://github.com/parthenon-hpc-lab/parthenon/pull/897) Deflate compression filter is not called any more if compression is soft disabled
- [[PR 896]](https://github.com/parthenon-hpc-lab/parthenon/pull/896) Update Kokkos integration to support installed version. Use `serial` (flat MPI) host parallelization by default (instead of OpenMP)
Expand Down
3 changes: 1 addition & 2 deletions src/parameter_input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,6 @@ bool ParameterInput::ParseLine(InputBlock *pib, std::string line, std::string &n
std::string &value, std::string &comment) {
std::size_t first_char, last_char, equal_char, hash_char, cont_char, len;
bool continuation = false;
printf("line: %s\n", line.c_str());

hash_char = line.find_first_of("#"); // find "#" (optional)
comment = "";
Expand All @@ -316,7 +315,7 @@ bool ParameterInput::ParseLine(InputBlock *pib, std::string line, std::string &n
name.assign(line, first_char, len);
last_char = name.find_last_not_of(" ");
name.erase(last_char + 1, std::string::npos);
line.erase(0, equal_char+1);
line.erase(0, equal_char + 1);
}

cont_char = line.find_first_of("&"); // find "&" continuation character
Expand Down

0 comments on commit c0b9818

Please sign in to comment.