Regression in 1.12.*? conflicting functions using libjulia

Hello,

I am trying Julia-1.12.* and when I use a module which has conflicting function names it used in the past to show conflicting names. My solution was to use first the prior function and later package call them if I need the other ones.

I precise, I am using a C wrapper that loads libjulia, here is an example:

jl_eval_str("using Random, LinearAlgebra, SpecialFunctions, Suppressor");
jl_eval_string("import REPL; import InteractiveUtils.run");
jl_eval_str("mul!([1.0 2;3 3],[1.0 2;3 3],[1.0 2;3 3]);gamma(1);polygamma(1,1);digamma(1);erf(0);erfi(0);erfc(0);zeta(0)");
//jl_eval_string("using Nemo:");
jl_eval_str("@suppress_err using Nemo");

But now this code when I use matrix multiplications via mul! is segfaulting. I wonder what is going on with Julia 1.12…

Here, the use of mul! is to force the LinearAlgebra one.

Greg

Solved, sorry. I need after to “package import” mul! after the ‘using’ call.

Sorry for the noise.

  • Greg
1 Like