Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
3175bb5f
Commit
3175bb5f
authored
9 years ago
by
Matt King
Browse files
Options
Downloads
Patches
Plain Diff
change num of bins to increase time
Refs #14011
parent
29b8bcdb
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Framework/MDAlgorithms/test/CompactMDTest.h
+3
-3
3 additions, 3 deletions
Framework/MDAlgorithms/test/CompactMDTest.h
with
3 additions
and
3 deletions
Framework/MDAlgorithms/test/CompactMDTest.h
+
3
−
3
View file @
3175bb5f
...
@@ -258,10 +258,12 @@ public:
...
@@ -258,10 +258,12 @@ public:
const
size_t
numDims
=
4
;
const
size_t
numDims
=
4
;
const
double
signal
=
0.0
;
const
double
signal
=
0.0
;
const
double
errorSquared
=
1.2
;
const
double
errorSquared
=
1.2
;
size_t
numBins
[
static_cast
<
int
>
(
numDims
)]
=
{
5
,
10
,
5
,
10
};
size_t
numBins
[
static_cast
<
int
>
(
numDims
)]
=
{
10
,
20
,
10
,
20
};
Mantid
::
coord_t
min
[
static_cast
<
int
>
(
numDims
)]
=
{
-
5
,
-
10
,
-
5
,
-
10
};
Mantid
::
coord_t
min
[
static_cast
<
int
>
(
numDims
)]
=
{
-
5
,
-
10
,
-
5
,
-
10
};
Mantid
::
coord_t
max
[
static_cast
<
int
>
(
numDims
)]
=
{
5
,
10
,
5
,
10
};
Mantid
::
coord_t
max
[
static_cast
<
int
>
(
numDims
)]
=
{
5
,
10
,
5
,
10
};
const
std
::
string
name
(
"test"
);
const
std
::
string
name
(
"test"
);
m_ws
=
MDEventsTestHelper
::
makeFakeMDHistoWorkspaceGeneral
(
numDims
,
signal
,
errorSquared
,
numBins
,
min
,
max
,
name
);
// setting signals like this for variety
// setting signals like this for variety
auto
iter
=
m_ws
->
createIterator
();
auto
iter
=
m_ws
->
createIterator
();
do
{
do
{
...
@@ -270,8 +272,6 @@ public:
...
@@ -270,8 +272,6 @@ public:
m_ws
->
setSignalAt
(
index
,
1.0
);
m_ws
->
setSignalAt
(
index
,
1.0
);
}
}
}
while
(
iter
->
next
());
}
while
(
iter
->
next
());
m_ws
=
MDEventsTestHelper
::
makeFakeMDHistoWorkspaceGeneral
(
numDims
,
signal
,
errorSquared
,
numBins
,
min
,
max
,
name
);
}
}
void
test_execute_4d
()
{
void
test_execute_4d
()
{
CompactMD
alg
;
CompactMD
alg
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment