Skip to content
Snippets Groups Projects
Commit 104075b3 authored by Timo Koch's avatar Timo Koch
Browse files

[assembler] Add assert for non-zero element set size

parent 31ae97e1
No related branches found
No related tags found
1 merge request!2909Feature/multithreaded assembly using a coloring scheme
Pipeline #15376 waiting for manual action
...@@ -489,6 +489,8 @@ private: ...@@ -489,6 +489,8 @@ private:
{ {
if (enableMultithreading_) if (enableMultithreading_)
{ {
assert(elementSets_.size() > 0);
// make this element loop run in parallel // make this element loop run in parallel
// for this we have to color the elements so that we don't get // for this we have to color the elements so that we don't get
// race conditions when writing into the global matrix // race conditions when writing into the global matrix
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment