Skip to content

Commit 2cb3607

Browse files
committed
fix for csc.exe build errors on culture
1 parent e70d8ad commit 2cb3607

14 files changed

Lines changed: 2067 additions & 2067 deletions

SVMClassifier/Boundary.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public static void Points(Pixbuf pixbuf, ManagedArray x, ManagedIntList c, int f
3232
{
3333
for (var i = 0; i < Rows(x); i++)
3434
{
35-
if (Math.Abs(deltax) > 0.0 && Math.Abs(deltay) > 0.0)
35+
if (Math.Abs(deltax) > 0 && Math.Abs(deltay) > 0)
3636
{
3737
var xp = (int)((x[f1, i] - minx) / deltax);
3838
var yp = (int)((x[f2, i] - miny) / deltay);
@@ -135,7 +135,7 @@ public static void ContourLine(double x1, double y1, double x2, double y2, doubl
135135
{
136136
if (ContourGraph != null)
137137
{
138-
if (Math.Abs(deltax) > 0.0 && Math.Abs(deltay) > 0.0)
138+
if (Math.Abs(deltax) > 0 && Math.Abs(deltay) > 0)
139139
{
140140
var xs = (int)((x1 - minx) / deltax);
141141
var ys = (int)((y1 - miny) / deltay);
@@ -220,7 +220,7 @@ public static Pixbuf Contour(ManagedArray x, Model model, int width, int height,
220220
ManagedOps.Free(p);
221221
}
222222

223-
var z = new double[] { -1.0, 0.0, 1.0 };
223+
var z = new double[] { -1, 0, 1 };
224224

225225
Conrec.Contour(data, xplot, yplot, z, ContourLine);
226226

0 commit comments

Comments
 (0)