Page 1 of 1

Bug in BlockRandSeq.h

Posted: 18 Jun 2010, 17:57
by dsteines
Hello,

I am using the SetFrequencies member of BlockRandSeq.h and encountered a bug. I am using v3.0 in VS 2008.

curElement should be initialized as Sequence::iterator instead of Sequence::const_iterator. Otherwise the function cannot write the sequence.

David

Posted: 09 Jul 2010, 09:19
by jawilson
David,
Do you get a compilation error right now, or is the behavior of BCI2000 different from what you would expect?
Adam

Posted: 12 Jul 2010, 08:57
by mellinger
David,

I confirmed this was a bug that would show up at compile time. It's fixed now.

Thanks for reporting,
Juergen