GeezerVison is showing github.com — fixed style guide issues · walshjon/pyne@c136c3f
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: src/material.cpp +4-4Lines changed: 4 additions & 4 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -550,15 +550,15 @@ std::string pyne::Material::mcnp(std::string frac_type) { |
550 | 550 | std::string nucmcnp; |
551 | 551 | std::string table_item; |
552 | 552 | for(pyne::comp_iter i = fracs.begin(); i != fracs.end(); ++i) { |
553 | | - if ( i->second > 0.0 ) { |
| 553 | + if (i->second > 0.0) { |
554 | 554 | // Clear first |
555 | | - ss.str(std::string() ); |
| 555 | + ss.str(std::string()); |
556 | 556 | ss.str(""); |
557 | | - ss << pyne::nucname::mcnp(i->first ); |
| 557 | + ss << pyne::nucname::mcnp(i->first); |
558 | 558 | nucmcnp = ss.str(); |
559 | 559 |
|
560 | 560 | int mcnp_id; |
561 | | - mcnp_id = pyne::nucname::mcnp(i->first ); |
| 561 | + mcnp_id = pyne::nucname::mcnp(i->first); |
562 | 562 | // Spaces are important for tests |
563 | 563 | table_item = metadata["table_ids"][nucmcnp].asString(); |
564 | 564 | if ( !table_item.empty() ) { |
|