From: cilix42 Date: Thu, 13 Dec 2007 20:17:35 +0000 (+0000) Subject: Remove unused function that causes compile error on windows. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=08b7f559a5955ffb91bc132613bc8dd0a5b990a7;p=inkscape.git Remove unused function that causes compile error on windows. --- diff --git a/src/syseq.h b/src/syseq.h index 7075bd47b..b16693356 100644 --- a/src/syseq.h +++ b/src/syseq.h @@ -64,18 +64,6 @@ determinant3v (const double a[3], const double b[3], const double c[3]) { a[2]*b[1]*c[0]); } -/* Fills the matrix A with random values between lower and upper */ -template -inline void fill_random (double A[S][T], double lower = 0.0, double upper = 1.0) { - srand(time(NULL)); - double range = upper - lower; - for (int i = 0; i < S; ++i) { - for (int j = 0; j < T; ++j) { - A[i][j] = range*(random()/(RAND_MAX + 1.0)) - lower; - } - } -} - /* Copy the elements of A into B */ template inline void copy_mat(double A[S][T], double B[S][T]) {