We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ee83fe commit c2def6eCopy full SHA for c2def6e
math/mathcore/inc/Fit/FitUtil.h
@@ -227,6 +227,9 @@ namespace FitUtil {
227
}
228
229
#ifdef R__HAS_VECCORE
230
+#pragma clang diagnostic push
231
+#pragma clang diagnostic ignored "-Wvla-cxx-extension"
232
+
233
inline double ExecFunc(const IModelFunctionTempl<ROOT::Double_v> *f, const double *x, const double *p) const
234
{
235
// Figure out the size of the SIMD vectors.
@@ -247,6 +250,7 @@ namespace FitUtil {
247
250
auto res = (*f)(xx, p);
248
251
return vecCore::Get<ROOT::Double_v>(res, 0);
249
252
253
+#pragma clang diagnostic pop
254
#endif
255
256
// objects of this class are not meant to be copied / assigned
0 commit comments