diff trunk/src/Support/SignalBank.h @ 273:c26222c51fb7

- 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 e14c70d1b171
children 6b4921704eb1
line wrap: on
line diff
--- a/trunk/src/Support/SignalBank.h	Sun Feb 14 22:42:58 2010 +0000
+++ b/trunk/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;