Mercurial > hg > aimc
diff src/Support/SignalBank.h @ 1:bc394a985042
- Fixed the python SWIG wrappers
- Added stub test for the Gaussian features, and test data
- Fixed build errors
author | tomwalters |
---|---|
date | Mon, 15 Feb 2010 20:37:26 +0000 |
parents | 582cbe817f2c |
children | 3c782dec2fc0 |
line wrap: on
line diff
--- a/src/Support/SignalBank.h Fri Feb 12 12:31:23 2010 +0000 +++ b/src/Support/SignalBank.h Mon Feb 15 20:37:26 2010 +0000 @@ -54,9 +54,13 @@ */ bool Initialize(const SignalBank &input); bool Validate() const; - inline const vector<float> &operator[](int channel) const; - inline float sample(int channel, int index) const; - inline void set_sample(int channel, int index, float value); + + inline const vector<float> &operator[](int channel) const { + return signals_[channel]; + }; + + float sample(int channel, int index) const; + void set_sample(int channel, int index, float value); const deque<int> &strobes(int channel) const; float sample_rate() const; int buffer_length() const;