From 81db5d8576d1d888c5efea9e55647a9ee59c8631 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albin=20Ahlb=C3=A4ck?= Date: Fri, 2 Feb 2024 18:35:18 +0100 Subject: [PATCH] Hack fmpz_mod_mat_clear --- src/flint/FlintTypes.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/flint/FlintTypes.jl b/src/flint/FlintTypes.jl index 157ca4546..d203ebb11 100644 --- a/src/flint/FlintTypes.jl +++ b/src/flint/FlintTypes.jl @@ -5464,7 +5464,7 @@ end function _fmpz_mod_mat_clear_fn(mat::ZZModMatrix) ccall((:fmpz_mod_mat_clear, libflint), Nothing, - (Ref{ZZModMatrix}, Ref{fmpz_mod_ctx_struct}), mat, mat.base_ring.ninv) + (Ref{ZZModMatrix}, Ref{Nothing}), mat, C_NULL) # Hack end ############################################################################### @@ -5602,7 +5602,7 @@ end function _gfp_fmpz_mat_clear_fn(mat::FpMatrix) ccall((:fmpz_mod_mat_clear, libflint), Nothing, - (Ref{FpMatrix}, Ref{fmpz_mod_ctx_struct}), mat, mat.base_ring.ninv) + (Ref{FpMatrix}, Ref{Nothing}), mat, C_NULL) # Hack end ################################################################################