Package: cain / 1.10+dfsg-2

gcc-4.7.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Matthias Klose <doko@debian.org>
Date: Tue, 22 May 2012 00:23:34 +0000
Description: Fix FTBFS issue when using gcc-4.7

--- a/src/stochastic/HistogramsAverageAps.h
+++ b/src/stochastic/HistogramsAverageAps.h
@@ -159,7 +159,7 @@ public:
             for (typename array::StaticArrayOfArrays<std::size_t>::const_iterator
                   i = _reactionInfluence.begin(reactionIndex);
                   i != _reactionInfluence.end(reactionIndex); ++i) {
-               sum += _propensitiesFunctor(*i, _state.getPopulations()) -
+               sum += this->_propensitiesFunctor(*i, _state.getPopulations()) -
                       _discreteGenerator[*i];
             }
             // Record the probabilities for this state.