diff options
| author | Erik Martin-Dorel | 2019-10-22 11:57:16 +0200 |
|---|---|---|
| committer | Pierre Roux | 2019-11-01 10:21:51 +0100 |
| commit | 3cb32772ccd0f2882a40d7f75b044b738adadad3 (patch) | |
| tree | 6b0f67aae816c45d489534ac9702ee9092b6032c /plugins/extraction/extraction.ml | |
| parent | 0caf27d014853693836ef06b1706502070b032f6 (diff) | |
Add extraction for primitive floats
Co-authored-by: Pierre Roux <pierre.roux@onera.fr>
Diffstat (limited to 'plugins/extraction/extraction.ml')
| -rw-r--r-- | plugins/extraction/extraction.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/extraction/extraction.ml b/plugins/extraction/extraction.ml index 872f30135f..04f5b66241 100644 --- a/plugins/extraction/extraction.ml +++ b/plugins/extraction/extraction.ml @@ -690,7 +690,7 @@ let rec extract_term env sg mle mlt c args = let extract_var mlt = put_magic (mlt,vty) (MLglob (GlobRef.VarRef v)) in extract_app env sg mle mlt extract_var args | Int i -> assert (args = []); MLuint i - | Float _ -> assert false (* TODO: Implement primitive float for extraction *) + | Float f -> assert (args = []); MLfloat f | Ind _ | Prod _ | Sort _ -> assert false (*s [extract_maybe_term] is [extract_term] for usual terms, else [MLdummy] *) |
