Issue 62 in casacore: MSIter::setInterval has no effect

1 view
Skip to first unread message

casa...@googlecode.com

unread,
Nov 15, 2013, 9:32:02 AM11/15/13
to casacor...@googlegroups.com
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

casa...@googlecode.com

unread,
Nov 18, 2014, 3:45:56 AM11/18/14
to casacor...@googlegroups.com
Updates:
Status: Fixed
Owner: gervandi...@gmail.com

Comment #1 on issue 62 by gervandi...@gmail.com: MSIter::setInterval has no
effect
https://code.google.com/p/casacore/issues/detail?id=62

(No comment was entered for this change.)
Reply all
Reply to author
Forward
0 new messages