Hello, I am encountering a segmentation fault error during a loop closure using ScanContext, and I would like to ask for your advice on how to resolve this issue.
The cause of the problem was identified through debugging, and it turns out that the segmentation fault occurs because the number of submaps is 0 inside the if statement (line 158).

Could you please advise me on how to fix this issue in such a case?
Hello, I am encountering a segmentation fault error during a loop closure using ScanContext, and I would like to ask for your advice on how to resolve this issue.
The cause of the problem was identified through debugging, and it turns out that the segmentation fault occurs because the number of submaps is 0 inside the if statement (line 158).

Could you please advise me on how to fix this issue in such a case?