Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
27d38fcd
Commit
27d38fcd
authored
Mar 09, 2011
by
Mathias Goldau
Browse files
[FIX] Numerical issues with new eigen lib...
parent
01d1b7c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/modules/gaussProcesses/test/WGaussProcess_test.h
src/modules/gaussProcesses/test/WGaussProcess_test.h
+2
-2
No files found.
src/modules/gaussProcesses/test/WGaussProcess_test.h
View file @
27d38fcd
...
...
@@ -58,7 +58,7 @@ public:
void
testMeanFunctionInsideOf_R_Environment
(
void
)
{
WGaussProcess
p
(
m_tractID
,
m_tracts
,
m_emptyDTIDataSet
);
TS_ASSERT
(
std
::
abs
(
p
.
mean
(
WPosition
(
-
p
.
m_R
+
1.0e-
8
,
0.0
,
0.0
)
)
)
>
wlimits
::
DBL_EPS
);
TS_ASSERT
(
std
::
abs
(
p
.
mean
(
WPosition
(
-
p
.
m_R
+
1.0e-
7
,
0.0
,
0.0
)
)
)
>
wlimits
::
DBL_EPS
);
}
/**
...
...
@@ -78,7 +78,7 @@ public:
void
testMeanFunctionOnSamplePoint
(
void
)
{
WGaussProcess
p
(
m_tractID
,
m_tracts
,
m_emptyDTIDataSet
);
TS_ASSERT_DELTA
(
p
.
mean
(
WPosition
(
0.0
,
0.0
,
0.0
)
),
p
.
m_maxLevel
,
wlimits
::
DBL_EPS
);
TS_ASSERT_DELTA
(
p
.
mean
(
WPosition
(
0.0
,
0.0
,
0.0
)
),
p
.
m_maxLevel
,
2
*
wlimits
::
DBL_EPS
);
}
// void testMeanFunctionOnSegmentButNotOnSamplePoint( void )
...
...
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