Open GoogleCodeExporter opened 9 years ago
I hit this as well. I guess the hash_mask_bits code in general isn't so highly
treaded, I found two bugs in the code, which I fixed.
There is a double delete crash in the SfHashWeightVector destructor (which
double deletes _weights, which are logically owned/managed by the parent
class). Further, the model loading code throws away type information when
loading the model.
Patch attached.
rrenaud@kingscourt:~/sofia-ml-read-only/sofia-ml$ patch -p0 <
load_hash_model.patch
patching file src/sofia-ml.cc
patching file src/sf-hash-weight-vector.cc
Original comment by rrenaud@gmail.com
on 2 Aug 2011 at 7:39
Attachments:
Original issue reported on code.google.com by
jel...@gmail.com
on 18 Jun 2010 at 6:43