10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-12-22 20:35:19 +01:00

Bug in molecule creation corrected

This commit is contained in:
Anthony Scemama 2014-10-24 12:43:23 +02:00
parent 0203b8cb71
commit de9ad72f8b
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ ALL_EXE=$(patsubst %.ml,%.native,$(wildcard qp_*.ml))
default: $(ALL_TESTS) $(ALL_EXE)
executables: $(ALL_EXE)
executables:
$(MAKE) -C $(QPACKAGE_ROOT)/data executables
%.inferred.mli: $(MLFILES)

View File

@ -90,7 +90,7 @@ let of_xyz_string
elec_alpha=(Elec_alpha_number.of_int 1) ;
elec_beta=(Elec_beta_number.of_int 0) }
|> Charge.to_int
) - 1 - charge
) + 1 - charge
|> Elec_number.of_int
in
let (na,nb) = Multiplicity.to_alpha_beta ne multiplicity in