Algorithm BRZ included

This commit is contained in:
fc_botelho
2005-07-27 21:13:02 +00:00
parent 652565a1a4
commit 426dfe2a63
10 changed files with 508 additions and 19 deletions

View File

@@ -175,7 +175,7 @@ cmph_t *bmz_new(cmph_config_t *mph, float c)
if (iterations_map == 0) return NULL;
mphf = (cmph_t *)malloc(sizeof(cmph_t));
mphf->algo = mph->algo;
bmzf = (bmz_data_t *)malloc(sizeof(bmz_config_data_t));
bmzf = (bmz_data_t *)malloc(sizeof(bmz_data_t));
bmzf->g = bmz->g;
bmz->g = NULL; //transfer memory ownership
bmzf->hashes = bmz->hashes;