Skip to content
Snippets Groups Projects
Commit 1572f2a7 authored by Bhuvan Bezawada's avatar Bhuvan Bezawada
Browse files

Minor changes to iterator file

re #23145
parent bad87c49
No related branches found
No related tags found
No related merge requests found
#ifndef MANTID_GEOMETRY_DETECTORINFOITEM_H_
#define MANTID_GEOMETRY_DETECTORINFOITEM_H_
#include <utility>
#include "MantidGeometry/Instrument/DetectorInfo.h"
#include "MantidKernel/V3D.h"
#include <utility>
using Mantid::Kernel::V3D;
namespace Mantid {
......
......@@ -15,7 +15,7 @@ class DetectorInfo;
class MANTID_GEOMETRY_DLL DetectorInfoIterator
: public boost::iterator_facade<DetectorInfoIterator,
const DetectorInfoItem &,
boost::bidirectional_traversal_tag> {
boost::forward_traversal_tag> {
public:
DetectorInfoIterator(const DetectorInfo &detectorInfo, const size_t index)
......
......@@ -107,8 +107,8 @@ class DetectorInfoTest(unittest.TestCase):
"""
def test_iteration(self):
import time
time.sleep(20)
#import time
#time.sleep(20)
info = self._ws.detectorInfo()
#self.assertEquals(len(info), 0)
#self.assertEquals(info.size(), 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment