Skip to content

Commit e8dd652

Browse files
committed
moving function
1 parent 9e416e1 commit e8dd652

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/dryad/resonances/ChannelQuantumNumbers.hpp

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -179,21 +179,6 @@ namespace resonances {
179179
return generateValues( std::abs(l - s), l + s );
180180
}
181181

182-
/**
183-
* @brief Equality comparison
184-
*
185-
* @param[in] left the object on the left hand side
186-
* @param[in] right the object on the right hand side
187-
*/
188-
friend bool operator==( const ChannelQuantumNumbers& left,
189-
const ChannelQuantumNumbers& right ) {
190-
191-
return std::tie( left.l_, left.s_,
192-
left.J_, left.parity_ ) ==
193-
std::tie( right.l_, right.s_,
194-
right.J_, right.parity_ );
195-
}
196-
197182
/**
198183
* @brief Return a string representation of the quantum numbers
199184
*/
@@ -215,6 +200,21 @@ namespace resonances {
215200
+ ( this->parity() > 0 ? "+" : "-" ) + "}";
216201
}
217202

203+
/**
204+
* @brief Equality comparison
205+
*
206+
* @param[in] left the object on the left hand side
207+
* @param[in] right the object on the right hand side
208+
*/
209+
friend bool operator==( const ChannelQuantumNumbers& left,
210+
const ChannelQuantumNumbers& right ) {
211+
212+
return std::tie( left.l_, left.s_,
213+
left.J_, left.parity_ ) ==
214+
std::tie( right.l_, right.s_,
215+
right.J_, right.parity_ );
216+
}
217+
218218
/**
219219
* @brief Inequality comparison
220220
*

0 commit comments

Comments
 (0)