mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-26 04:40:34 +05:00
fix empty names in mesh distribute
This commit is contained in:
parent
95e9408db0
commit
e0abf93ce1
@ -1228,7 +1228,7 @@ namespace netgen
|
||||
auto write_names = [&] (auto & array) {
|
||||
for (int k = 0; k < array.Size(); k++) {
|
||||
int s = name_sizes[tot_nn];
|
||||
array[k] = s ? new string(&compiled_names[tot_size], s) : nullptr;
|
||||
array[k] = s ? new string(&compiled_names[tot_size], s) : new string("");
|
||||
tot_nn++;
|
||||
tot_size += s;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user