Commit c1e4eb58 authored by Lynn Garren's avatar Lynn Garren
Browse files

get flags properly reset

parent db127e2d
......@@ -23,7 +23,7 @@ endif
CXX = @CXX@
INCDIR = -I$(CLHEP_BASE)/include
HepMCinc = $(INCDIR)/CLHEP/HepMC
PythiaLIB = $(LULIB)/pydata.o $(LULIB)/liblund.a $(LULIB)/libpydum.a
PythiaLIB = $(PYLIB)/pydata.o $(PYLIB)/libpythia.a $(PYLIB)/libpydum.a
HerwigLIB = $(HERWIG_DIR)/lib/libherwig.a $(HERWIG_DIR)/lib/libherdum.a $(HERWIG_DIR)/lib/timel.o
LIBNAME = -L$(CLHEP_BASE)/lib -lCLHEP-@VERSION@
LIBS = @AM_LDFLAGS@
......
......@@ -216,7 +216,7 @@ namespace HepMC {
ostr.width(9);
ostr.precision(2);
ostr << part.momentum().e() << " ";
//ostr.unsetf(std::ios::scientific, std::ios::floatfield);
ostr.setf(std::ios::fmtflags(0), std::ios::floatfield);
ostr.unsetf(std::ios_base::showpos);
if ( part.end_vertex() && part.end_vertex()->barcode()!=0 ) {
ostr.width(3);
......
......@@ -148,7 +148,7 @@ namespace HepMC {
ostr.width(9);
ostr.precision(2);
ostr << position().t();
//ostr.unsetf(std::ios::scientific, std::ios::floatfield);
ostr.setf(std::ios::fmtflags(0), std::ios::floatfield);
ostr.unsetf(std::ios_base::showpos);
ostr << std::endl;
} else {
......@@ -187,6 +187,7 @@ namespace HepMC {
ostr.width(9);
ostr.precision(2);
ostr << position().t();
ostr.setf(std::ios::fmtflags(0), std::ios::floatfield);
ostr.unsetf(std::ios_base::showpos);
ostr << std::endl;
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment