]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Remove not very portable FANN_TRAIN_SARPROP
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 5 Nov 2016 15:20:23 +0000 (15:20 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 5 Nov 2016 15:20:23 +0000 (15:20 +0000)
src/lua/lua_fann.c

index fa1a27ae86e25ee88975ee204fdc89d8aa1260e5..2b2b75c3dad7c3c581364a40dd99cce642ff9bea 100644 (file)
@@ -197,9 +197,6 @@ string_to_learn_alg (const gchar *str)
        else if (strcmp (str, "qprop") == 0) {
                return FANN_TRAIN_QUICKPROP;
        }
-       else if (strcmp (str, "sarprop") == 0) {
-               return FANN_TRAIN_SARPROP;
-       }
        else if (strcmp (str, "batch") == 0) {
                return FANN_TRAIN_BATCH;
        }