Commit 445cf9845038d62dfba19a09d2fe34b95ef83ea7

Authored by Jürgen Knödlseder
1 parent 5d63916f

Replace references by values.

In Python, references give the address of a memory cell instead of the actual value. We thus use values instead of the references here.
Showing 1 changed file with 8 additions and 8 deletions
pyext/GBilinear.i
@@ -49,14 +49,14 @@ public: @@ -49,14 +49,14 @@ public:
49 void clear(void); 49 void clear(void);
50 GBilinear* clone(void) const; 50 GBilinear* clone(void) const;
51 std::string classname(void) const; 51 std::string classname(void) const;
52 - int& index1(void);  
53 - int& index2(void);  
54 - int& index3(void);  
55 - int& index4(void);  
56 - double& weight1(void);  
57 - double& weight2(void);  
58 - double& weight3(void);  
59 - double& weight4(void); 52 + int index1(void);
  53 + int index2(void);
  54 + int index3(void);
  55 + int index4(void);
  56 + double weight1(void);
  57 + double weight2(void);
  58 + double weight3(void);
  59 + double weight4(void);
60 }; 60 };
61 61
62 62