mirror of
https://github.com/LCPQ/quantum_package
synced 2025-01-03 10:05:57 +01:00
Corrected bug with D in doubles in basis files
This commit is contained in:
parent
dce39c7dd1
commit
a29070c1d7
@ -52,6 +52,8 @@ let read_one in_channel =
|
|||||||
match buffer with
|
match buffer with
|
||||||
| [ j ; expo ; coef ] ->
|
| [ j ; expo ; coef ] ->
|
||||||
begin
|
begin
|
||||||
|
let coef = String.tr ~target:'D' ~replacement:'e' coef
|
||||||
|
in
|
||||||
let p =
|
let p =
|
||||||
Primitive.of_sym_expo sym
|
Primitive.of_sym_expo sym
|
||||||
(AO_expo.of_float (Float.of_string expo) )
|
(AO_expo.of_float (Float.of_string expo) )
|
||||||
|
Loading…
Reference in New Issue
Block a user