Skip to content

Commit 28f567f

Browse files
committed
Fix format of template >> Should be > > for C++03 compliance
1 parent 340dd65 commit 28f567f

File tree

8 files changed

+14
-14
lines changed

8 files changed

+14
-14
lines changed

.clang-format

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ SpacesInCStyleCastParentheses: false
5454
SpacesInContainerLiterals: true
5555
SpacesInParentheses: false
5656
SpacesInSquareBrackets: false
57-
Standard: Cpp11
57+
Standard: Cpp03
5858
TabWidth: 8
5959
UseTab: Never

src/bi_operators/Numerical.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ double integrateS(const KernelS & F, const Element & e) {
8181

8282
// Get the quadrature rules for azimuthal and polar integrations
8383
namespace mpl = boost::mpl;
84-
typedef typename mpl::at<rules_map, mpl::int_<PhiPoints>>::type PhiPolicy;
85-
typedef typename mpl::at<rules_map, mpl::int_<ThetaPoints>>::type ThetaPolicy;
84+
typedef typename mpl::at<rules_map, mpl::int_<PhiPoints> >::type PhiPolicy;
85+
typedef typename mpl::at<rules_map, mpl::int_<ThetaPoints> >::type ThetaPolicy;
8686
QuadratureRule<PhiPolicy> phiRule;
8787
QuadratureRule<ThetaPolicy> thetaRule;
8888
int upper_phi = PhiPoints / 2; // Upper limit for loop on phi points
@@ -193,8 +193,8 @@ double integrateD(const KernelD & F, const Element & e) {
193193

194194
// Get the quadrature rules for azimuthal and polar integrations
195195
namespace mpl = boost::mpl;
196-
typedef typename mpl::at<rules_map, mpl::int_<PhiPoints>>::type PhiPolicy;
197-
typedef typename mpl::at<rules_map, mpl::int_<ThetaPoints>>::type ThetaPolicy;
196+
typedef typename mpl::at<rules_map, mpl::int_<PhiPoints> >::type PhiPolicy;
197+
typedef typename mpl::at<rules_map, mpl::int_<ThetaPoints> >::type ThetaPolicy;
198198
QuadratureRule<PhiPolicy> phiRule;
199199
QuadratureRule<ThetaPolicy> thetaRule;
200200
int upper_phi = PhiPoints / 2; // Upper limit for loop on phi points

src/cavity/GePolCavity.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ void GePolCavity::build(const std::string & suffix, int maxts, int maxsph,
218218
// The indices of the equal elements are gathered in a std::pair and saved into a
219219
// std::vector
220220
double threshold = 1.0e-12;
221-
std::vector<std::pair<PCMSolverIndex, PCMSolverIndex>> equal_elements;
221+
std::vector<std::pair<PCMSolverIndex, PCMSolverIndex> > equal_elements;
222222
for (PCMSolverIndex i = 0; i < nElements_; ++i) {
223223
for (PCMSolverIndex j = i + 1; j < nElements_; ++j) {
224224
Eigen::Vector3d difference = elementCenter_.col(i) - elementCenter_.col(j);

src/green/SphericalDiffuse.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ template <typename ProfilePolicy>
138138
Numerical SphericalDiffuse<ProfilePolicy>::operator()(Numerical * sp,
139139
Numerical * pp) const {
140140
// Transfer raw arrays to Eigen vectors using the Map type
141-
Eigen::Map<Eigen::Matrix<double, 3, 1>> source(sp), probe(pp);
141+
Eigen::Map<Eigen::Matrix<double, 3, 1> > source(sp), probe(pp);
142142

143143
// Obtain coefficient for the separation of the Coulomb singularity
144144
double Cr12 = this->coefficient_impl(source, probe);

src/green/SphericalDiffuse.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,12 +196,12 @@ class SphericalDiffuse __final : public GreensFunction<Numerical, ProfilePolicy>
196196
* \note The vector has dimension maxLGreen_ and has r^l behavior
197197
*/
198198
std::vector<RadialFunction<interfaces::StateType, interfaces::LnTransformedRadial,
199-
Zeta>> zeta_;
199+
Zeta> > zeta_;
200200
/*! \brief Second independent radial solution, used to build Green's function.
201201
* \note The vector has dimension maxLGreen_ and has r^(-l-1) behavior
202202
*/
203203
std::vector<RadialFunction<interfaces::StateType, interfaces::LnTransformedRadial,
204-
Omega>> omega_;
204+
Omega> > omega_;
205205
/*! \brief Returns L-th component of the radial part of the Green's function
206206
* \param[in] L angular momentum
207207
* \param[in] sp source point

src/green/SphericalSharp.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ template <typename DerivativeTraits = AD_directional,
5454
typename IntegratorPolicy = CollocationIntegrator>
5555
class SphericalSharp __final
5656
: public GreensFunction<DerivativeTraits, IntegratorPolicy, Sharp,
57-
SphericalSharp<DerivativeTraits, IntegratorPolicy>> {
57+
SphericalSharp<DerivativeTraits, IntegratorPolicy> > {
5858
public:
5959
/*! Constructor for a one-layer interface
6060
* \param[in] e permittivity of the sphere
@@ -64,7 +64,7 @@ class SphericalSharp __final
6464
*/
6565
SphericalSharp(double e, double esolv, double r, const Eigen::Vector3d & o)
6666
: GreensFunction<DerivativeTraits, IntegratorPolicy, Sharp,
67-
SphericalSharp<DerivativeTraits, IntegratorPolicy>>(),
67+
SphericalSharp<DerivativeTraits, IntegratorPolicy> >(),
6868
origin_(o) {
6969
this->profile_ = Sharp(e, esolv, r);
7070
}
@@ -77,7 +77,7 @@ class SphericalSharp __final
7777
SphericalSharp(double e, double esolv, double r, const Eigen::Vector3d & o,
7878
double f)
7979
: GreensFunction<DerivativeTraits, IntegratorPolicy, Sharp,
80-
SphericalSharp<DerivativeTraits, IntegratorPolicy>>(f),
80+
SphericalSharp<DerivativeTraits, IntegratorPolicy> >(f),
8181
origin_(o) {
8282
this->profile_ = Sharp(e, esolv, r);
8383
}

src/utils/MathUtils.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ inline Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> npy_to_eigen(
385385
if (npy_array.shape.size() > 2)
386386
PCMSOLVER_ERROR("Only vectors and matrices can be read into Eigen objects.",
387387
BOOST_CURRENT_FUNCTION);
388-
return Eigen::Map<Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic>>(
388+
return Eigen::Map<Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> >(
389389
reinterpret_cast<Scalar *>(npy_array.data), npy_array.shape[0],
390390
npy_array.shape[1]);
391391
}

src/utils/QuadratureRules.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,6 @@ namespace mpl = boost::mpl;
209209

210210
typedef mpl::map<mpl::pair<mpl::int_<16>, gauss16>,
211211
mpl::pair<mpl::int_<32>, gauss32>,
212-
mpl::pair<mpl::int_<64>, gauss64>> rules_map;
212+
mpl::pair<mpl::int_<64>, gauss64> > rules_map;
213213

214214
#endif // QUADRATURERULES_HPP

0 commit comments

Comments
 (0)