You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering an error in the compute_costs function in the brne.cpp file located at /brne/brne_nav/brnelib/src/brne.cpp. The error is shown as follows:
I am using the following versions as listed in the dependency section: Armadillo: 12.6.6, Catch2: Version 3. I would appreciate any guidance or solution to resolve this issue. If there are any known fixes or workarounds, I'd love to hear about them.
Thanks in advance for your help!
The text was updated successfully, but these errors were encountered:
The error is likely caused by how "j" is initialized in Line 132 (the initialization of "j", which is parallelized with OpenMP, should not depend on the initialization of "i", which is also parallelized with OpenMP). Could you please try the following change and let me know how it goes (starting with line 131)?
for (auto i=0; i<size; i++){
for (auto j=0; j<size; j++){
if (j < i) {continue;}
...
}
}
If it doesn't work, you can also try to replace line 130 with "#pragma omp parallel for", in which case only the outer loop will be parallelized.
Hi,
I'm encountering an error in the compute_costs function in the brne.cpp file located at /brne/brne_nav/brnelib/src/brne.cpp. The error is shown as follows:
I am using the following versions as listed in the dependency section: Armadillo: 12.6.6, Catch2: Version 3. I would appreciate any guidance or solution to resolve this issue. If there are any known fixes or workarounds, I'd love to hear about them.
Thanks in advance for your help!
The text was updated successfully, but these errors were encountered: