The Higher Education and Research forge

Home My Page Projects Code Snippets Project Openings Garamon
Summary Activity SCM

SCM Repository

index 29355df..a466fe5 100644 (file)
@@ -1357,9 +1357,8 @@ project_singular_metric_comment_begin
 
             // add the k-vector to the resulting multivector
             mvResult.mvData.push_back(kvec);
-            mvResult.gradeBitmap |= kvec.grade;
+            mvResult.gradeBitmap |= (1 << kvec.grade);
         }
-
         return mvResult;
     };
 project_singular_metric_comment_end