Accessing matrices works
parent
69b69a0bc8
commit
1f692638f5
|
@ -151,13 +151,13 @@ TEST(ExpressionFactor, binary) {
|
||||||
char raw[size];
|
char raw[size];
|
||||||
ExecutionTrace<Point2> trace;
|
ExecutionTrace<Point2> trace;
|
||||||
Point2 value = tester.binary_.traceExecution(values, trace, raw);
|
Point2 value = tester.binary_.traceExecution(values, trace, raw);
|
||||||
trace.print();
|
// trace.print();
|
||||||
|
|
||||||
// Check matrices
|
// Check matrices
|
||||||
// boost::optional<Binary::Record*> p = trace.record<Binary::Record>();
|
boost::optional<Binary::Record*> p = trace.record<Binary::Record>();
|
||||||
// CHECK(p);
|
CHECK(p);
|
||||||
// EXPECT( assert_equal(expected25, (Matrix)(*p)->dTdA1, 1e-9));
|
EXPECT( assert_equal(expected25, (Matrix)(*p)->dTdA1, 1e-9));
|
||||||
// EXPECT( assert_equal(expected22, (Matrix)(*p)->dTdA2, 1e-9));
|
EXPECT( assert_equal(expected22, (Matrix)(*p)->dTdA2, 1e-9));
|
||||||
}
|
}
|
||||||
///* ************************************************************************* */
|
///* ************************************************************************* */
|
||||||
//// Unary(Binary(Leaf,Leaf))
|
//// Unary(Binary(Leaf,Leaf))
|
||||||
|
|
Loading…
Reference in New Issue