Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Milestone-Release1.4
New issue 62 by
basvande...@gmail.com: MSIter::setInterval has no effect
http://code.google.com/p/casacore/issues/detail?id=62
The constructor accepts a parameter timeInterval, and that works as
expected.
MSIter msIter(ms,sort,timeInteval);
for (msIter.origin(); msIter.more(); msIter++) {
cout << msIter.table().nrow() << endl;
However, the following code behaves like timeInterval == 0, whatever the
value of timeInterval.
msIter(ms,sort);
msIter.setInterval(timeInterval);
for (msIter.origin(); msIter.more(); msIter++) {
cout << msIter.table().nrow() << endl;
As far as I can see in MSIter.cc, the method setInterval only changes the
value of member interval_p, but interval_p is only used in the constructor,
through a call to the construct method.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings