[htdig3-dev] 3.1.5 / Prefix.cc & Exact.cc / constructor ....


Subject: [htdig3-dev] 3.1.5 / Prefix.cc & Exact.cc / constructor ....
From: J. op den Brouw (MSQL_User@st.hhs.nl)
Date: Wed Mar 22 2000 - 09:02:16 PST


Well, in my search for my problem, I found that I got an error
while executing this piece of code in htsearch.cc:

around line 558:

        if (debug > 1)
        cout << " " << fuzzy->getName();

It crashed on the cout. Why? Well, every fuzzy constructor sets
a name attribute except Prefix.cc. The constructor does not set
a name, hence it crashed.A

Add:

        name = "prefix";

to the constructor of Prefix.cc

By the way, this whole story applies also for Exact.cc

        name = "exact";

Will make a diff sometime, but this can be typed in with ease...

--jesse
--------------------------------------------------------------------
J. op den Brouw Johanna Westerdijkplein 75
Haagse Hogeschool 2521 EN DEN HAAG
Faculty of Engeneering Netherlands
Electrical Engeneering +31 70 4458936
-------------------- J.E.J.opdenBrouw@st.hhs.nl --------------------

Linux - because reboots are for hardware changes

------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
htdig3-dev-unsubscribe@htdig.org
You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Wed Mar 22 2000 - 07:59:57 PST