Skip to content

Commit

Permalink
Refs #7832 fix mac build and cppcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
VickieLynch committed Jul 24, 2014
1 parent 550ad23 commit 626413e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Code/Mantid/Framework/Crystal/src/SaveLauenorm.cpp
Expand Up @@ -121,8 +121,7 @@ namespace Crystal
ws->sort(criteria);

std::vector<Peak> peaks= ws->getPeaks();
std::vector<std::vector<double> > spectra;
std::vector<std::vector<double> > time;

// ============================== Save all Peaks =========================================

// Go through each peak at this run / bank
Expand Down Expand Up @@ -163,7 +162,7 @@ namespace Crystal
ss.str("");
ss.clear();
ss << std::setw(3) << std::setfill('0') << sequenceNo;
out.open( filename.c_str() + ss.str(), std::ios::out);
out.open( filename + ss.str(), std::ios::out);
}
// h k l lambda theta intensity and sig(intensity) in format (3I5,2F10.5,2I10)
// HKL is flipped by -1 due to different q convention in ISAW vs mantid.
Expand Down

0 comments on commit 626413e

Please sign in to comment.