mirror of
https://github.com/LCPQ/quantum_package
synced 2025-01-09 12:44:07 +01:00
Bug in molecule creation corrected
This commit is contained in:
parent
0203b8cb71
commit
de9ad72f8b
@ -23,7 +23,7 @@ ALL_EXE=$(patsubst %.ml,%.native,$(wildcard qp_*.ml))
|
|||||||
|
|
||||||
default: $(ALL_TESTS) $(ALL_EXE)
|
default: $(ALL_TESTS) $(ALL_EXE)
|
||||||
|
|
||||||
executables: $(ALL_EXE)
|
executables:
|
||||||
$(MAKE) -C $(QPACKAGE_ROOT)/data executables
|
$(MAKE) -C $(QPACKAGE_ROOT)/data executables
|
||||||
|
|
||||||
%.inferred.mli: $(MLFILES)
|
%.inferred.mli: $(MLFILES)
|
||||||
|
@ -90,7 +90,7 @@ let of_xyz_string
|
|||||||
elec_alpha=(Elec_alpha_number.of_int 1) ;
|
elec_alpha=(Elec_alpha_number.of_int 1) ;
|
||||||
elec_beta=(Elec_beta_number.of_int 0) }
|
elec_beta=(Elec_beta_number.of_int 0) }
|
||||||
|> Charge.to_int
|
|> Charge.to_int
|
||||||
) - 1 - charge
|
) + 1 - charge
|
||||||
|> Elec_number.of_int
|
|> Elec_number.of_int
|
||||||
in
|
in
|
||||||
let (na,nb) = Multiplicity.to_alpha_beta ne multiplicity in
|
let (na,nb) = Multiplicity.to_alpha_beta ne multiplicity in
|
||||||
|
Loading…
Reference in New Issue
Block a user