Skip to content
Snippets Groups Projects
Commit c28d6c53 authored by renchao.lu's avatar renchao.lu
Browse files

[CL] Drop non-empty checking.

parent b7f268ee
No related branches found
No related tags found
No related merge requests found
...@@ -28,15 +28,12 @@ void KineticReactant::print(std::ostream& os, ...@@ -28,15 +28,12 @@ void KineticReactant::print(std::ostream& os,
os << "-m " << (*molality)[global_id] << "\n"; os << "-m " << (*molality)[global_id] << "\n";
if (!parameters.empty()) os << "-parms";
for (auto const& parameter : parameters)
{ {
os << "-parms"; os << " " << parameter;
for (auto const& parameter : parameters)
{
os << " " << parameter;
}
os << "\n";
} }
os << "\n";
} }
const ItemType KineticReactant::item_type; const ItemType KineticReactant::item_type;
} // namespace PhreeqcIOData } // namespace PhreeqcIOData
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment