From b0a68aba927aaafc97816d18b50b219a595b4dd2 Mon Sep 17 00:00:00 2001
From: "Claudius \"keldu\" Holeksa" <mail@keldu.de>
Date: Fri, 18 Apr 2025 16:35:52 +0200
Subject: Compileable state

---
 examples/cavity_2d.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'examples')

diff --git a/examples/cavity_2d.cpp b/examples/cavity_2d.cpp
index 5085635..55223a4 100644
--- a/examples/cavity_2d.cpp
+++ b/examples/cavity_2d.cpp
@@ -193,7 +193,7 @@ public:
 	void apply(saw::data<sch::DfCell<Desc>>& dfs){
 		typename saw::native_data_type<sch::T>::type rho;
 		std::array<typename saw::native_data_type<sch::T>::type, Desc::D> vel;
-		compute_rho_u<Desc>(dfs,rho,vel);
+		compute_rho_u<sch::T,Desc>(dfs,rho,vel);
 		auto eq = equilibrium<Desc>(rho,vel);
 		
 		for(uint64_t i = 0u; i < Desc::Q; ++i){
@@ -420,7 +420,7 @@ int main(){
 				auto& dfs = cell.template get<"dfs">();
 				typename saw::native_data_type<sch::T>::type rho;
 				std::array<typename saw::native_data_type<sch::T>::type, sch::D2Q9::D> vel;
-				compute_rho_u<sch::D2Q9>(dfs,rho,vel);
+				compute_rho_u<sch::T,sch::D2Q9>(dfs,rho,vel);
 
 				if(i > 1 && (i+2) < dim_x && j > 1 && (j+2) < dim_y){
 					sum += rho;
@@ -517,7 +517,7 @@ int main(){
 
 				typename saw::native_data_type<sch::T>::type rho;
 				std::array<typename saw::native_data_type<sch::T>::type, sch::D2Q9::D> vel;
-				compute_rho_u<sch::D2Q9>(dfs,rho,vel);
+				compute_rho_u<sch::T,sch::D2Q9>(dfs,rho,vel);
 
 				vtk_file << static_cast<float>(vel[0u]) << " " << static_cast<float>(vel[1u])<<" 0.0\n";
 			}, lattice);
-- 
cgit v1.2.3