]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fixed a typo in assert
authorJason Sheldon <Jason.Sheldon@psu.edu>
Thu, 6 Aug 2015 20:48:08 +0000 (16:48 -0400)
committerJason Sheldon <Jason.Sheldon@psu.edu>
Thu, 6 Aug 2015 21:49:31 +0000 (17:49 -0400)
source/fe/mapping.cc

index 1a31ac021aae2688c94c8b88fc094b69460db281..f3e7432afe062eafcbd166625c38ddf3f0f77fe1 100644 (file)
@@ -50,7 +50,7 @@ transform_real_to_unit_projected_to_face (
   //The function doesn't make physical sense for dim=1
   Assert(dim>1, ExcNotImplemented());
   //Not implemented for higher dimensions
-  Assert(3<=dim, ExcNotImplemented());
+  Assert(dim<=3, ExcNotImplemented());
 
   Point<dim> unit_cell_pt = transform_real_to_unit_cell(cell, p);
 

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.