~ubuntu-branches/debian/stretch/openbabel/stretch

« back to all changes in this revision

Viewing changes to src/formats/MCDLformat.cpp

  • Committer: Package Import Robot
  • Author(s): Daniel Leidert
  • Date: 2013-05-22 19:08:27 UTC
  • mfrom: (1.1.11) (7.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20130522190827-72q0fnx5y2nm3bc0
Tags: 2.3.2+dfsg-1
* New upstream release.
* debian/control: Dropped DM-Upload-Allowed field.
  (Standards-Version): Bumped to 3.9.4.
* debian/copyright: Massive update.
* debian/upstream: Author name update.
* debian/get-orig-source.sh: Remove the windows-*/ directory too.
* debian/openbabel.install: Removed roundtrip manpage.
* debian/openbabel-gui.install: Fixed manpage name.
* debian/openbabel-gui.links: Removed unused file.
* debian/rules: Enable OpenMP. Disable tests on `nocheck'.
* debian/patches/gaussformat_nosym.patch: Dropped. Applied upstream.
* debian/patches/moldenformat_coordonly.patch: Ditto.
* debian/patches/obspectrophore_man.patch: Ditto.
* debian/patches/fix_ftbfs.patch: Added.
  - Fix several FTBFS issues in upstream build system.
* debian/patches/series: Adjusted.

Show diffs side-by-side

added added

removed removed

Lines of Context:
954
954
  std::vector <int> nH(MAXFRAGS);
955
955
  std::vector <int> nF(MAXFRAGS);
956
956
//  int nb;//,na;
957
 
  int i,j,nt,n1,n2;//,n3, nfrag;
 
957
  unsigned int i, j, nt, n1, n2;//,n3, nfrag;
958
958
  bool test;
959
959
  OBAtom sa;
960
960
  string mf="";
983
983
  std::vector <string> names(MAXFRAGS);
984
984
  int netcharge=0;
985
985
  int netradical=0;
986
 
  int nelements=0;
 
986
  unsigned int nelements=0;
987
987
  int kk;
988
988
  string value="";
989
 
  int acount,bcount,flags;
 
989
  unsigned int acount, bcount, flags;
990
990
 
991
991
  std::vector <int> iA1(MAXBONDS);
992
992
  std::vector <int> iA2(MAXBONDS);
1409
1409
 
1410
1410
bool MCDLFormat::parseFormula(const string formulaString, std::vector <int>& enumber) {
1411
1411
  //vector<string> items;
1412
 
  int i,n,k,n1,n2;//,j,nStart;
 
1412
  unsigned int i, n, k, n1, n2;//,j,nStart;
1413
1413
  string s;
1414
1414
  bool test;
1415
1415
  string asym;