Mikhail Katliar
Mikhail Katliar
Uncomment the last line `sys.exit(app.exec())` in `example1.py` to workaround #3 and run ``` $ python example1.py ``` Output: ``` Traceback (most recent call last): File "example1.py", line 5, in from...
Run command: ``` examples$ python2 example1.py ``` Output: ``` File "example1.py", line 76 sys.exit(app.exec()) ^ SyntaxError: invalid syntax ``` Probably the error occurs because `exec` is a keyword in python:...
`casadi_getint_t` is defined as https://github.com/casadi/casadi/blob/c6be863a2a23b4b7d010be1419abffbe30a007e8/casadi/mem.h#L45 However, in the generated code I see definitions like following: ```c CASADI_SYMBOL_EXPORT casadi_int pendulum_ode_n_in(void) { return 2;} /*...*/ CASADI_SYMBOL_EXPORT casadi_functions* pendulum_ode_functions(void) { static casadi_functions fun...
Example: ```python import casadi as cs assert cs.MX.sym('x', 3, 2)[:].shape == (6, 1) # OK assert cs.MX.sym('x', 3, 1)[:].shape == (3, 1) # OK assert cs.MX.sym('x', 1, 2)[:].shape == (2,...
`casadi.Function` documentation mentions the `'regularity_check'` option: ``` +------------------+-----------------+------------------+------------------+ | regularity_check | OT_BOOL | Throw exceptions | casadi::Function | | | | when NaN or Inf | Internal | | |...
Example: ```python import matplotlib.pyplot as plt fig = plt.figure() ax = fig.add_subplot(1, 1, 1) ax.bar([1, 2], [3, 4]) ax.bar([1, 2], [2, 5]) ax.legend(['data', 'more data']) import tikzplotlib tikzplotlib.save("bar_legend.tex") ``` TikZ...
Example: ```c++ auto const xml = R"urdf( )urdf"; pinocchio::Model model; pinocchio::urdf::buildModelFromXML(xml, model); assert(model.nq == 1); ``` This code results in `model.nq == 2` and the assert fails. Changing joint type...
Checked against `openblas` ``` Actual value: ( 2.7854532671410537 0 0 0 0 ) ( 0.83913770035387469 2.9938299960925923 0 0 0 ) ( 0.58622882080751648 0.70368090020327312 2.1283975704681657 0 0 ) ( 0.38255481974053374 0.48675723887823252...
Here is how the bug can be reproduced: https://gitlab.syscop.de/dimitris.kouzoupis/treeQP-dev/issues/26