From 3401cac8d79b4ede5672e43851fd2159500cca93 Mon Sep 17 00:00:00 2001 From: Larz White Date: Wed, 10 Feb 2016 22:19:12 -0600 Subject: [PATCH] Made the cached field thread safe --- src/Numerics/Integration/GaussRule/GaussLegendrePointFactory.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Numerics/Integration/GaussRule/GaussLegendrePointFactory.cs b/src/Numerics/Integration/GaussRule/GaussLegendrePointFactory.cs index 06c40395..78967b4b 100644 --- a/src/Numerics/Integration/GaussRule/GaussLegendrePointFactory.cs +++ b/src/Numerics/Integration/GaussRule/GaussLegendrePointFactory.cs @@ -38,6 +38,7 @@ namespace MathNet.Numerics.Integration.GaussRule /// static class GaussLegendrePointFactory { + [ThreadStatic] private static GaussPoint gaussLegendrePoint; ///