Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
f30e90af
Commit
f30e90af
authored
Oct 06, 2017
by
Lamar Moore
Browse files
clang-format patch #20598
parent
d8f09eb7
Changes
11
Hide whitespace changes
Inline
Side-by-side
Framework/API/test/MultiPeriodGroupWorkerTest.h
View file @
f30e90af
...
...
@@ -32,7 +32,6 @@ public:
};
DECLARE_ALGORITHM
(
TestAlgorithm
)
class
MultiPeriodGroupWorkerTest
:
public
CxxTest
::
TestSuite
,
public
MultiPeriodGroupTestBase
{
public:
...
...
Framework/Algorithms/src/DiffractionFocussing2.cpp
View file @
f30e90af
...
...
@@ -307,9 +307,11 @@ void DiffractionFocussing2::exec() {
std
::
divides
<
double
>
());
// Now multiply by the number of spectra in the group
std
::
transform
(
Yout
.
begin
(),
Yout
.
end
(),
Yout
.
begin
(),
std
::
bind2nd
(
std
::
multiplies
<
double
>
(),
static_cast
<
double
>
(
groupSize
)));
std
::
bind2nd
(
std
::
multiplies
<
double
>
(),
static_cast
<
double
>
(
groupSize
)));
std
::
transform
(
Eout
.
begin
(),
Eout
.
end
(),
Eout
.
begin
(),
std
::
bind2nd
(
std
::
multiplies
<
double
>
(),
static_cast
<
double
>
(
groupSize
)));
std
::
bind2nd
(
std
::
multiplies
<
double
>
(),
static_cast
<
double
>
(
groupSize
)));
prog
->
report
();
PARALLEL_END_INTERUPT_REGION
...
...
Framework/CurveFitting/test/Algorithms/FitTest.h
View file @
f30e90af
...
...
@@ -75,7 +75,6 @@ private:
DECLARE_FUNCMINIMIZER
(
TestMinimizer
,
TestMinimizer
)
class
FitTest
:
public
CxxTest
::
TestSuite
{
public:
// This pair of boilerplate methods prevent the suite being created statically
...
...
Framework/Kernel/test/TypedValidatorTest.h
View file @
f30e90af
...
...
@@ -7,7 +7,6 @@
#include
<boost/make_shared.hpp>
#include
<cxxtest/TestSuite.h>
#define DECLARE_TEST_VALIDATOR(ClassName, HeldType) \
class ClassName : public Mantid::Kernel::TypedValidator<HeldType> { \
public: \
...
...
Framework/PythonInterface/mantid/api/src/Exports/Axis.cpp
View file @
f30e90af
...
...
@@ -24,7 +24,7 @@ using Mantid::Kernel::Unit_sptr;
using
Mantid
::
specnum_t
;
using
namespace
boost
::
python
;
//GET_POINTER_SPECIALIZATION(Axis)
//
GET_POINTER_SPECIALIZATION(Axis)
namespace
{
namespace
bpl
=
boost
::
python
;
...
...
Framework/PythonInterface/mantid/api/src/Exports/IEventList.cpp
View file @
f30e90af
...
...
@@ -16,7 +16,7 @@ namespace Policies = Mantid::PythonInterface::Policies;
namespace
Converters
=
Mantid
::
PythonInterface
::
Converters
;
using
namespace
boost
::
python
;
//GET_POINTER_SPECIALIZATION(IEventList)
//
GET_POINTER_SPECIALIZATION(IEventList)
/// return_value_policy for copied numpy array
typedef
return_value_policy
<
Policies
::
VectorToNumpy
>
return_clone_numpy
;
...
...
Framework/PythonInterface/mantid/api/src/Exports/IPeak.cpp
View file @
f30e90af
...
...
@@ -8,7 +8,7 @@
using
Mantid
::
Geometry
::
IPeak
;
using
namespace
boost
::
python
;
//GET_POINTER_SPECIALIZATION(IPeak)
//
GET_POINTER_SPECIALIZATION(IPeak)
namespace
{
using
namespace
Mantid
::
PythonInterface
;
...
...
Framework/PythonInterface/mantid/api/src/Exports/ISpectrum.cpp
View file @
f30e90af
...
...
@@ -8,7 +8,7 @@ using Mantid::API::ISpectrum;
using
Mantid
::
detid_t
;
using
namespace
boost
::
python
;
//GET_POINTER_SPECIALIZATION(ISpectrum)
//
GET_POINTER_SPECIALIZATION(ISpectrum)
void
export_ISpectrum
()
{
register_ptr_to_python
<
ISpectrum
*>
();
...
...
Framework/PythonInterface/mantid/api/src/Exports/Run.cpp
View file @
f30e90af
...
...
@@ -16,7 +16,7 @@ using Mantid::Kernel::Property;
using
namespace
boost
::
python
;
GET_POINTER_SPECIALIZATION
(
Goniometer
)
//GET_POINTER_SPECIALIZATION(Run)
//
GET_POINTER_SPECIALIZATION(Run)
namespace
{
namespace
bpl
=
boost
::
python
;
...
...
Framework/PythonInterface/mantid/api/src/Exports/WorkspaceHistory.cpp
View file @
f30e90af
...
...
@@ -15,7 +15,7 @@ using Mantid::API::WorkspaceHistory;
using
namespace
boost
::
python
;
namespace
Policies
=
Mantid
::
PythonInterface
::
Policies
;
//GET_POINTER_SPECIALIZATION(WorkspaceHistory)
//
GET_POINTER_SPECIALIZATION(WorkspaceHistory)
/**
* Return a Python list of history objects from the workspace history as this is
...
...
Framework/PythonInterface/mantid/kernel/src/Exports/PropertyManager.cpp
View file @
f30e90af
...
...
@@ -18,7 +18,7 @@ using Mantid::Kernel::PropertyManager_sptr;
using
namespace
boost
::
python
;
//GET_POINTER_SPECIALIZATION(PropertyManager)
//
GET_POINTER_SPECIALIZATION(PropertyManager)
void
export_PropertyManager
()
{
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment