Skip to content

Commit

Permalink
Fixing memory error in biarc list (Memory EXAUSTED)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoRagni committed Oct 19, 2021
1 parent d19bc48 commit 5302caa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BiarcList.cc
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ namespace G2lib {
) {
size_t nn = size_t(n);
Utils::Malloc<real_type> mem( "BiarcList::build_G1" );
mem.allocate( 4 * nn );
mem.allocate( 5 * nn );
real_type * theta = mem( nn );
real_type * theta_min = mem( nn );
real_type * theta_max = mem( nn );
Expand Down

0 comments on commit 5302caa

Please sign in to comment.