Bug in BlockRandSeq.h

Known Issues and Problems with BCI2000
Locked
dsteines
Posts: 16
Joined: 23 Jan 2010, 17:19

Bug in BlockRandSeq.h

Post by dsteines » 18 Jun 2010, 17:57

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

jawilson
Posts: 109
Joined: 28 Feb 2005, 16:31

Post by jawilson » 09 Jul 2010, 09:19

David,
Do you get a compilation error right now, or is the behavior of BCI2000 different from what you would expect?
Adam

mellinger
Posts: 1065
Joined: 12 Feb 2003, 11:06

Post by mellinger » 12 Jul 2010, 08:57

David,

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

Thanks for reporting,
Juergen

Locked

Who is online

Users browsing this forum: No registered users and 1 guest