From 0c5ffe538eb31b8ab21d55fa05574686b3d28b94 Mon Sep 17 00:00:00 2001
From: Ben Cumming <bcumming@cscs.ch>
Date: Fri, 6 May 2016 08:46:55 +0200
Subject: [PATCH] change formulation to have units mV on LHS and RHS

---
 tests/test_run.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/test_run.cpp b/tests/test_run.cpp
index 0dc0b495..9ed84900 100644
--- a/tests/test_run.cpp
+++ b/tests/test_run.cpp
@@ -37,7 +37,8 @@ TEST(run, single_compartment)
     //auto dt = 0.02 / 1000.; // convert ms to s
     //auto tfinal = 100./1000.;
     auto dt     =   0.02; // ms
-    auto tfinal =   5; // ms
+    auto tfinal =   5.0; // ms
+    //auto tfinal =   0.10; // ms
     int nt = tfinal/dt;
     std::vector<double> result;
     result.push_back(model.voltage()[0]);
-- 
GitLab