OptimoJoe / Optizelle

Optizelle [op-tuh-zel] is an open source software library designed to solve general purpose nonlinear optimization problems.
www.optimojoe.com/products/optizelle
63 stars 13 forks source link

Add a unit test with three distinct vector spaces to C++ #29

Closed josyoun closed 8 years ago

josyoun commented 10 years ago

Add a unit test with three distinct vector spaces to our C++ unit tests. Due to how templating works, it's possible that we used the wrong vector space in our code (X as opposed to Y or Z), and it's not detected by the compiler because we use the same vector space in each case, such as Rm. To eliminate these errors, we need three different vectors spaces with unique classes for X, Y, and Z in a unit test. Then, the compiler should correctly find these errors.

josyoun commented 8 years ago

Added with commit 7b718fec11714e6edb736c04292b4cc0cb63bb64