GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fixed style guide issues · walshjon/pyne@c136c3f

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • material.cpp
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/material.cpp‎

Copy file name to clipboardExpand all lines: src/material.cpp
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -550,15 +550,15 @@ std::string pyne::Material::mcnp(std::string frac_type) {
550550
std::string nucmcnp;
551551
std::string table_item;
552552
for(pyne::comp_iter i = fracs.begin(); i != fracs.end(); ++i) {
553-
if ( i->second > 0.0 ) {
553+
if (i->second > 0.0) {
554554
// Clear first
555-
ss.str(std::string() );
555+
ss.str(std::string());
556556
ss.str("");
557-
ss << pyne::nucname::mcnp(i->first );
557+
ss << pyne::nucname::mcnp(i->first);
558558
nucmcnp = ss.str();
559559

560560
int mcnp_id;
561-
mcnp_id = pyne::nucname::mcnp(i->first );
561+
mcnp_id = pyne::nucname::mcnp(i->first);
562562
// Spaces are important for tests
563563
table_item = metadata["table_ids"][nucmcnp].asString();
564564
if ( !table_item.empty() ) {

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.