File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616- vector cross and product</PackageReleaseNotes >
1717 <PackageLicenseExpression >MIT</PackageLicenseExpression >
1818 <PackageId >MaxRev.BinaryRelations</PackageId >
19- <Product >MaxRev.BinaryRelations</Product >
20- <LangVersion >latest</LangVersion >
19+ <Product >MaxRev.BinaryRelations</Product >
2120 </PropertyGroup >
2221
2322 <ItemGroup >
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ public class MatrixRandomizer
88 {
99 private readonly Random _random = new Random ( ) ;
1010 private static MatrixRandomizer _instance ;
11- public static MatrixRandomizer Default => _instance ??= new MatrixRandomizer ( ) ;
11+ public static MatrixRandomizer Default => _instance ?? ( _instance = new MatrixRandomizer ( ) ) ;
1212
1313 public int LowRandBounds { get ; set ; } = 0 ;
1414 public int MaxRandBounds { get ; set ; } = 100 ;
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ namespace MaxRev.Extensions.Matrix
1212 {
1313 private readonly Random _random = new Random();
1414 private static MatrixRandomizer _instance;
15- public static MatrixRandomizer Default => _instance ??= new MatrixRandomizer();
15+ public static MatrixRandomizer Default => _instance ?? (_instance = new MatrixRandomizer() );
1616
1717 public int LowRandBounds { get; set; } = 0;
1818 public int MaxRandBounds { get; set; } = 100;
You can’t perform that action at this time.
0 commit comments