Skip to content

Commit

Permalink
Increase buffer size
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-steinegger committed Nov 23, 2023
1 parent 79f865d commit dffdf78
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/strucclustutils/scorecomplex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ struct ChainToChainAln {
break;
}
}
char buffer[1024];
char buffer[4096];
label = 0;
superposition[0] = tmResult.u[0][0];
superposition[1] = tmResult.u[0][1];
Expand Down Expand Up @@ -644,7 +644,7 @@ int scorecomplex(int argc, const char **argv, const Command &command) {
#pragma omp parallel
{
unsigned int thread_idx = 0;
char buffer[1024];
char buffer[4096];
#ifdef OPENMP
thread_idx = static_cast<unsigned int>(omp_get_thread_num());
#endif
Expand Down Expand Up @@ -702,4 +702,4 @@ int scorecomplex(int argc, const char **argv, const Command &command) {
}
resultWriter.close(true);
return EXIT_SUCCESS;
}
}

0 comments on commit dffdf78

Please sign in to comment.