Skip to content

Commit c214f9c

Browse files
authored
Fixes to assertions and overrides (#106)
* size_quad() --> sizeQuadrature(). * Add missing overrides in IdaTests. * Fix time assert with tolerance within a namespace. * Use GridKit's isEqual in example2 time stamp assertion. --------- Co-authored-by: nkoukpaizan <[email protected]>
1 parent c6ba874 commit c214f9c

File tree

7 files changed

+4846
-4839
lines changed

7 files changed

+4846
-4839
lines changed

examples/PhasorDynamics/Example1/example1.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ int main()
133133
for (size_t i = 0; i < output.size(); i++)
134134
{
135135
OutputData data = output[i];
136-
std::vector<double>& ref_sol = reference_solution[i + 1];
136+
std::vector<double>& ref_sol = Example1::reference_solution[i + 1];
137137

138138
double err =
139139
std::abs(std::sqrt(data.Vr * data.Vr + data.Vi * data.Vi) - ref_sol[2])

0 commit comments

Comments
 (0)