Browse code

update

mikejiang authored on 22/10/2022 01:35:03
Showing 1 changed files

... ...
@@ -113,9 +113,9 @@ cpp11::external_pointer<GatingSet> parse_workspace(cpp11::external_pointer<flowJ
113 113
   if(comps.size()==1&&Rf_isNull(comps.names()))
114 114
   {
115 115
 	  if(!Rf_isMatrix(comps[0]))
116
-		cpp11::stop("compensation must be of the type of cpp11::doubles_matrix, ");
116
+		cpp11::stop("compensation must be of the type of cpp11::doubles_matrix<>, ");
117 117
 
118
-	  config.global_comp = mat_to_comp(cpp11::as_cpp<cpp11::doubles_matrix>(comps[0]));
118
+	  config.global_comp = mat_to_comp(cpp11::as_cpp<cpp11::doubles_matrix<>>(comps[0]));
119 119
   }
120 120
   else
121 121
 	  config.compensation_map = list_to_comps(comps);