diff --git a/Setup/CreateRelease.cmd b/Setup/CreateRelease.cmd index a810e0fe6..efb1faea0 100644 --- a/Setup/CreateRelease.cmd +++ b/Setup/CreateRelease.cmd @@ -6,8 +6,9 @@ :: Compile sources -cmd /c "Compile.cmd" - +cd .. +cmd /c "Build.cmd" +cd Setup :: Build compressed archive cd Archiver diff --git a/Sources/Accord.Core/Properties/VersionInfo.cs b/Sources/Accord.Core/Properties/VersionInfo.cs index b59405f54..43fd198d9 100644 --- a/Sources/Accord.Core/Properties/VersionInfo.cs +++ b/Sources/Accord.Core/Properties/VersionInfo.cs @@ -14,4 +14,4 @@ [assembly: AssemblyVersion("3.0.2")] [assembly: AssemblyInformationalVersion("3.0.2")] -[assembly: AssemblyFileVersion("3.0.2.5282")] +[assembly: AssemblyFileVersion("3.0.2.5339")] diff --git a/Sources/Accord.Math/Matrix/Matrix.Conversions.cs b/Sources/Accord.Math/Matrix/Matrix.Conversions.cs index 5cd3259ff..627f5d310 100644 --- a/Sources/Accord.Math/Matrix/Matrix.Conversions.cs +++ b/Sources/Accord.Math/Matrix/Matrix.Conversions.cs @@ -628,8 +628,10 @@ public static T To(this object value) /// The vector or array to be converted. /// public static TOutput To(this Array array) - where TOutput : class, ICloneable, IList, ICollection, IEnumerable, - IStructuralComparable, IStructuralEquatable + where TOutput : class, ICloneable, IList, ICollection, IEnumerable +#if !NET35 + , IStructuralComparable, IStructuralEquatable +#endif { var typeInput = array.GetType(); var typeOutput = typeof(TOutput); diff --git a/Unit Tests/Accord.Tests.Imaging/BagOfVisualWordsTest.cs b/Unit Tests/Accord.Tests.Imaging/BagOfVisualWordsTest.cs index e201288fd..410652712 100644 --- a/Unit Tests/Accord.Tests.Imaging/BagOfVisualWordsTest.cs +++ b/Unit Tests/Accord.Tests.Imaging/BagOfVisualWordsTest.cs @@ -133,7 +133,7 @@ public void BagOfVisualWordsConstructorTest3() public void GetFeatureVectorTest() { Accord.Math.Tools.SetupGenerator(0); - Bitmap image = images[0]; + Bitmap image = (Bitmap)images[0].Clone(); // The Bag-of-Visual-Words model converts arbitrary-size images // into fixed-length feature vectors. In this example, we will