Skip to content
Snippets Groups Projects
Commit 771ab088 authored by Amorilia's avatar Amorilia
Browse files

Another fix for g++.

parent cdf2ffb5
No related branches found
No related tags found
No related merge requests found
......@@ -396,7 +396,7 @@ int qh_rboxpoints(FILE* fout, FILE* ferr, char* rbox_command) {
/* ============= simplex distribution =============== */
if (issimplex+issimplex2) {
if (!(simplex= qh_malloc( dim * (dim+1) * sizeof(double)))) {
if (!(simplex= (double*)qh_malloc( dim * (dim+1) * sizeof(double)))) {
qh_fprintf_rbox(rbox.ferr, 6196, "rbox error: insufficient memory for simplex\n");
qh_errexit_rbox(qh_ERRmem); /* qh_ERRmem */
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment