10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-07-03 01:45:59 +02:00

Corrected bug with D in doubles in basis files

This commit is contained in:
Anthony Scemama 2014-12-09 22:17:46 +01:00
parent dce39c7dd1
commit a29070c1d7

View File

@ -52,6 +52,8 @@ let read_one in_channel =
match buffer with
| [ j ; expo ; coef ] ->
begin
let coef = String.tr ~target:'D' ~replacement:'e' coef
in
let p =
Primitive.of_sym_expo sym
(AO_expo.of_float (Float.of_string expo) )