From 99dc5160176fb81ff69064fe7a3fdddf84c95968 Mon Sep 17 00:00:00 2001 From: Hans Schoenemann Date: Mon, 22 Jan 2024 14:05:37 +0100 Subject: [PATCH] new coeff types (#750) --- deps/src/singular.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/deps/src/singular.cpp b/deps/src/singular.cpp index 8c0f12e6c..6a39af452 100644 --- a/deps/src/singular.cpp +++ b/deps/src/singular.cpp @@ -64,13 +64,13 @@ JLCXX_MODULE define_julia_module(jlcxx::Module & Singular) Singular.set_const("n_Zp", n_Zp); Singular.set_const("n_GF", n_GF); Singular.set_const("n_transExt", n_transExt); - Singular.set_const("n_Nemo_AnticNumberField", n_Nemo_AnticNumberField); - Singular.set_const("n_Nemo_QQField", n_Nemo_QQField); - Singular.set_const("n_Nemo_ZZRing", n_Nemo_ZZRing); - Singular.set_const("n_Nemo_FqPolyRepField", n_Nemo_FqPolyRepField); - Singular.set_const("n_Nemo_fqPolyRepField", n_Nemo_fqPolyRepField); - Singular.set_const("n_Nemo_Field", n_Nemo_Field); - Singular.set_const("n_Nemo_Ring", n_Nemo_Ring); + Singular.set_const("n_Nemo_AnticNumberField", (n_coeffType)17 /*n_Nemo_AnticNumberField*/); + Singular.set_const("n_Nemo_QQField", (n_coeffType)18 /*n_Nemo_QQField*/); + Singular.set_const("n_Nemo_ZZRing", (n_coeffType)19 /*n_Nemo_ZZRing*/); + Singular.set_const("n_Nemo_FqPolyRepField", (n_coeffType)20 /*n_Nemo_FqPolyRepField*/); + Singular.set_const("n_Nemo_fqPolyRepField", (n_coeffType)21 /*n_Nemo_fqPolyRepField*/); + Singular.set_const("n_Nemo_Field", (n_coeffType)22 /*n_Nemo_Field*/); + Singular.set_const("n_Nemo_Ring", (n_coeffType)23 /*n_Nemo_Ring*/); Singular.set_const("n_unknown", n_unknown); Singular.add_type("number"); Singular.add_type<__mpz_struct>("__mpz_struct");