 		const double* points, index_t points_nb,
 		const index_t* facets, index_t facets_nb,
 		index_t* points_nn, index_t k_p,
-		index_t* facets_nn, index_t dim
+		index_t* facets_nn, index_t k_f,
+		index_t  dim
 		) :
 		vertex_(vertex),
 		vertex_nb_(vertex_nb),

		watcher.synchronize();
		watcher.print_elaspsed_time(std::cout);
		
		std::string out_file("..//out//S2_points_tex.txt");
		print_return_data(out_file);
		free_memory();
	}


			cudaMemcpy(dev_points_, points_, DOUBLE_SIZE * points_nb_ * dimension_, cudaMemcpyHostToDevice);
			cudaMemcpy(dev_facets_, facets_, sizeof(index_t) * facet_nb_ * dimension_, cudaMemcpyHostToDevice);
			cudaMemcpy(dev_points_nn_, points_nn_, sizeof(index_t) * points_nb_ * k_, cudaMemcpyHostToDevice);
			cudaMemcpy(dev_facets_nn_, facets_nn_, sizeof(index_t) * facet_nb_ * f_k, cudaMemcpyHostToDevice);

			CheckCUDAError("Copying data from host to device");
		}
