@@ -65,7 +65,7 @@ SCENARIO("A collocation integrator with numerical integrator of the diagonal ele
65
65
results = gf.singleLayer(cavity.elements());
66
66
// Numerical integrator not really working now...
67
67
/*
68
- reference = cnpy::custom::npy_load("@CMAKE_CURRENT_LIST_DIR@/vacuum_S_numerical.npy");
68
+ reference = cnpy::custom::npy_load<double> ("@CMAKE_CURRENT_LIST_DIR@/vacuum_S_numerical.npy");
69
69
for (size_t i = 0; i < cavity.size(); ++i) {
70
70
for (size_t j = 0; j < cavity.size(); ++j) {
71
71
REQUIRE(reference(i, j) == Approx(results(i, j)));
@@ -78,7 +78,7 @@ SCENARIO("A collocation integrator with numerical integrator of the diagonal ele
78
78
Eigen::MatrixXd results = gf.doubleLayer(cavity.elements());
79
79
// Numerical integrator not really working now...
80
80
/*
81
- reference = cnpy::custom::npy_load("@CMAKE_CURRENT_LIST_DIR@/vacuum_D_numerical.npy");
81
+ reference = cnpy::custom::npy_load<double> ("@CMAKE_CURRENT_LIST_DIR@/vacuum_D_numerical.npy");
82
82
for (size_t i = 0; i < cavity.size(); ++i) {
83
83
for (size_t j = 0; j < cavity.size(); ++j) {
84
84
REQUIRE(reference(i, j) == Approx(results(i, j)));
@@ -102,7 +102,7 @@ SCENARIO("A collocation integrator with numerical integrator of the diagonal ele
102
102
results = gf.singleLayer(cavity.elements());
103
103
// Numerical integrator not really working now...
104
104
/*
105
- reference = cnpy::custom::npy_load("@CMAKE_CURRENT_LIST_DIR@/uniformdielectric_S_numerical.npy");
105
+ reference = cnpy::custom::npy_load<double> ("@CMAKE_CURRENT_LIST_DIR@/uniformdielectric_S_numerical.npy");
106
106
for (size_t i = 0; i < cavity.size(); ++i) {
107
107
for (size_t j = 0; j < cavity.size(); ++j) {
108
108
REQUIRE(reference(i, j) == Approx(results(i, j)));
@@ -115,7 +115,7 @@ SCENARIO("A collocation integrator with numerical integrator of the diagonal ele
115
115
Eigen::MatrixXd results = gf.doubleLayer(cavity.elements());
116
116
// Numerical integrator not really working now...
117
117
/*
118
- reference = cnpy::custom::npy_load("@CMAKE_CURRENT_LIST_DIR@/uniformdielectric_D_numerical.npy");
118
+ reference = cnpy::custom::npy_load<double> ("@CMAKE_CURRENT_LIST_DIR@/uniformdielectric_D_numerical.npy");
119
119
for (size_t i = 0; i < cavity.size(); ++i) {
120
120
for (size_t j = 0; j < cavity.size(); ++j) {
121
121
REQUIRE(reference(i, j) == Approx(results(i, j)));
@@ -138,7 +138,7 @@ SCENARIO("A collocation integrator with numerical integrator of the diagonal ele
138
138
results = gf.singleLayer(cavity.elements());
139
139
// Numerical integrator not really working now...
140
140
/*
141
- reference = cnpy::custom::npy_load("@CMAKE_CURRENT_LIST_DIR@/ionicliquid_S_numerical.npy");
141
+ reference = cnpy::custom::npy_load<double> ("@CMAKE_CURRENT_LIST_DIR@/ionicliquid_S_numerical.npy");
142
142
for (size_t i = 0; i < cavity.size(); ++i) {
143
143
for (size_t j = 0; j < cavity.size(); ++j) {
144
144
REQUIRE(reference(i, j) == Approx(results(i, j)));
@@ -151,7 +151,7 @@ SCENARIO("A collocation integrator with numerical integrator of the diagonal ele
151
151
results = gf.doubleLayer(cavity.elements());
152
152
// Numerical integrator not really working now...
153
153
/*
154
- reference = cnpy::custom::npy_load("@CMAKE_CURRENT_LIST_DIR@/ionicliquid_D_numerical.npy");
154
+ reference = cnpy::custom::npy_load<double> ("@CMAKE_CURRENT_LIST_DIR@/ionicliquid_D_numerical.npy");
155
155
for (size_t i = 0; i < cavity.size(); ++i) {
156
156
for (size_t j = 0; j < cavity.size(); ++j) {
157
157
REQUIRE(reference(i, j) == Approx(results(i, j)));
@@ -174,7 +174,7 @@ SCENARIO("A collocation integrator with numerical integrator of the diagonal ele
174
174
results = gf.singleLayer(cavity.elements());
175
175
// Numerical integrator not really working now...
176
176
/*
177
- reference = cnpy::custom::npy_load("@CMAKE_CURRENT_LIST_DIR@/anisotropicliquid_S_numerical.npy");
177
+ reference = cnpy::custom::npy_load<double> ("@CMAKE_CURRENT_LIST_DIR@/anisotropicliquid_S_numerical.npy");
178
178
for (size_t i = 0; i < cavity.size(); ++i) {
179
179
for (size_t j = 0; j < cavity.size(); ++j) {
180
180
REQUIRE(reference(i, j) == Approx(results(i, j)));
@@ -187,7 +187,7 @@ SCENARIO("A collocation integrator with numerical integrator of the diagonal ele
187
187
results = gf.doubleLayer(cavity.elements());
188
188
// Numerical integrator not really working now...
189
189
/*
190
- reference = cnpy::custom::npy_load("@CMAKE_CURRENT_LIST_DIR@/anisotropicliquid_D_numerical.npy");
190
+ reference = cnpy::custom::npy_load<double> ("@CMAKE_CURRENT_LIST_DIR@/anisotropicliquid_D_numerical.npy");
191
191
for (size_t i = 0; i < cavity.size(); ++i) {
192
192
for (size_t j = 0; j < cavity.size(); ++j) {
193
193
REQUIRE(reference(i, j) == Approx(results(i, j)));
0 commit comments