Browse Source

Make DD_MatrixMultiply deal with memout in the same was other DD functions.

git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10490 bbc10eb1-c90d-0410-af57-cb519fbb1720
master
Dave Parker 11 years ago
parent
commit
4258503c80
  1. 5
      prism/src/dd/dd_matrix.cc

5
prism/src/dd/dd_matrix.cc

@ -331,10 +331,7 @@ int method
else { // (method == MM_BOULDER)
res = Cudd_addMatrixMultiply(ddman, dd1, dd2, vars, num_vars);
}
if (res == NULL) {
printf("DD_MatrixMultiply: res is NULL\n");
exit(1);
}
if (res == NULL) return NULL;
Cudd_Ref(res);
Cudd_RecursiveDeref(ddman, dd1);
Cudd_RecursiveDeref(ddman, dd2);

Loading…
Cancel
Save