]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix a completely dysfunctional Assertion using = instead of ==.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 23 Jul 2004 13:49:25 +0000 (13:49 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 23 Jul 2004 13:49:25 +0000 (13:49 +0000)
git-svn-id: https://svn.dealii.org/trunk@9517 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/dofs/dof_renumbering.cc

index 3960d5988cc6b124e3cffde8dcb0ef9bf04ebbf2..b9eea05233d72db02d4b06edbf359d97d89778a9 100644 (file)
@@ -1209,7 +1209,7 @@ compute_subdomain_wise (std::vector<unsigned int> &new_dof_indices,
         }
 
                                    // we should have numbered all dofs
-  Assert (next_free_index = n_dofs, ExcInternalError());
+  Assert (next_free_index == n_dofs, ExcInternalError());
   Assert (std::find (new_dof_indices.begin(), new_dof_indices.end(),
                      deal_II_numbers::invalid_unsigned_int)
           == new_dof_indices.end(),

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.