Commit 4a1a6dd8 authored by jul's avatar jul

loglog works with eigen

parent 4284f68f
......@@ -944,9 +944,8 @@ bool semilogy(const std::vector<NumericX> &x, const std::vector<NumericY> &y,
return res;
}
template <typename NumericX, typename NumericY>
bool loglog(const std::vector<NumericX> &x, const std::vector<NumericY> &y,
const std::string &s = "") {
template <typename VectorX, typename VectorY>
bool loglog(const VectorX &x, const VectorY &y, const std::string &s = "") {
assert(x.size() == y.size());
PyObject *xarray = get_array(x);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment