diff --git a/Phys/FunctorCore/src/Components/Factory.cpp b/Phys/FunctorCore/src/Components/Factory.cpp index 08e31b1f470a13cabdbff1e2c9c3088b39e45b2d..64efa26e49a652a047943cd7e2025e760ac12cb9 100644 --- a/Phys/FunctorCore/src/Components/Factory.cpp +++ b/Phys/FunctorCore/src/Components/Factory.cpp @@ -562,7 +562,8 @@ functor_{0}{{ // functor_jitter is a shell script generated by cmake to invoke the // correct compiler with the correct flags see: // Phys/FunctorCore/CMakeLists.txt - auto cmd = "functor_jitter " + std::to_string( m_jit_n_jobs ) + " " + tmp_dir + " " + lib_filename; + // LD_PRELOAD= is needed to make sure the sanitizers don't run for the python wrapper and gcc + auto cmd = "LD_PRELOAD= functor_jitter " + std::to_string( m_jit_n_jobs ) + " " + tmp_dir + " " + lib_filename; if ( msgLevel( MSG::VERBOSE ) ) { verbose() << "Command that will be executed:\n" << cmd << endmsg; } diff --git a/Phys/SelTools/include/SelTools/SigmaNet.h b/Phys/SelTools/include/SelTools/SigmaNet.h index f0ac9cb6069def436a92b9d417cb614675f8baa2..929b141fdd992eda41768e4f5188ea624267bdef 100644 --- a/Phys/SelTools/include/SelTools/SigmaNet.h +++ b/Phys/SelTools/include/SelTools/SigmaNet.h @@ -176,7 +176,7 @@ namespace Sel { std::vector m_biases; // Network bias std::vector m_clamp_los; // in case of clamping, clamp to these values (lower) std::vector m_clamp_his; // in case of clamping, clamp to these values (upper) - bool m_min_max; // Apply min-max normalisation using clamping values + bool m_min_max = false; // Apply min-max normalisation using clamping values static constexpr long unsigned int m_size = 128; // maximum width of the network. 128 is enough as the network can alternatively be made deeper.