diff --git a/vlsisapd/agds/GdsLibrary.cpp b/vlsisapd/agds/GdsLibrary.cpp index b200f6e2..1808a06b 100644 --- a/vlsisapd/agds/GdsLibrary.cpp +++ b/vlsisapd/agds/GdsLibrary.cpp @@ -40,9 +40,10 @@ bool GdsLibrary::write(string filename) { << " LASTACC {" << date << "};" << endl << "LIBNAME " << _libName << ".DB;" << endl << "UNITS;" << endl - << " USERUNITS " << _userUnits << ";" << endl - << " PHYSUNITS " << _physUnits << ";" << endl + << " USERUNITS " << _userUnits << ";" << endl; + file << scientific << " PHYSUNITS " << _physUnits << ";" << endl << endl; + file.unsetf(ios::floatfield); // For each Struct : write struct. for ( vector::iterator it = _structs.begin() ; it < _structs.end() ; it++ ) {