summaryrefslogtreecommitdiff
path: root/math/fityk/patches/patch-src_GAfit.cpp
blob: 6ae506c1203e3ab5821af76831aabe01aea6f091 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-src_GAfit.cpp,v 1.1 2013/04/30 22:25:39 joerg Exp $

--- src/GAfit.cpp.orig	2013-04-30 20:13:09.000000000 +0000
+++ src/GAfit.cpp
@@ -347,7 +347,7 @@ void GAfit::stochastic_remainder_samplin
 struct Remainder_and_ptr {
     int ind;
     fp r;
-    bool operator< (const Remainder_and_ptr &b) {
+    bool operator< (const Remainder_and_ptr &b) const {
         return r < b.r;
     }
 };