Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
09a9ad6d
Commit
09a9ad6d
authored
Feb 16, 2018
by
Davis King
Browse files
Fixed inconsistent random seeding in test.
parent
f9b272fe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/test/cca.cpp
dlib/test/cca.cpp
+1
-1
No files found.
dlib/test/cca.cpp
View file @
09a9ad6d
...
@@ -108,7 +108,7 @@ namespace
...
@@ -108,7 +108,7 @@ namespace
matrix
<
double
>
L
=
randm
(
m
,
rank
,
rnd
)
*
randm
(
rank
,
n
,
rnd
);
matrix
<
double
>
L
=
randm
(
m
,
rank
,
rnd
)
*
randm
(
rank
,
n
,
rnd
);
//matrix<double> R = randm(m,rank, rnd)*randm(rank,n2, rnd);
//matrix<double> R = randm(m,rank, rnd)*randm(rank,n2, rnd);
matrix
<
double
>
R
=
L
*
randm
(
n
,
n2
);
matrix
<
double
>
R
=
L
*
randm
(
n
,
n2
,
rnd
);
//matrix<double> L = randm(m,n, rnd);
//matrix<double> L = randm(m,n, rnd);
//matrix<double> R = randm(m,n2, rnd);
//matrix<double> R = randm(m,n2, rnd);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment