diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2007-12-13 20:17:35 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2007-12-13 20:17:35 +0000 |
| commit | c632cff7a455f0490b0026f0f8e374ceaee78127 (patch) | |
| tree | 90aff342c8acbd2adef93e353e4bc17216578c59 /src/syseq.h | |
| parent | If necessary, split up perspectives when applying transformations to boxes; m... (diff) | |
| download | inkscape-c632cff7a455f0490b0026f0f8e374ceaee78127.tar.gz inkscape-c632cff7a455f0490b0026f0f8e374ceaee78127.zip | |
Remove unused function that causes compile error on windows.
(bzr r4228)
Diffstat (limited to 'src/syseq.h')
| -rw-r--r-- | src/syseq.h | 12 |
1 files changed, 0 insertions, 12 deletions
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 <int S, int T> -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 <int S, int T> inline void copy_mat(double A[S][T], double B[S][T]) { |
