Skip to content

Commit 17084ce

Browse files
committed
Update dependencies.rst typo
1 parent 39a1d4e commit 17084ce

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/source/about/dependencies.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Additionally, IPC Toolkit may optionally use the following libraries:
107107
Some of these libraries are enabled by default, and some are not. You can enable or disable them by passing the appropriate CMake option when you configure the IPC Toolkit build.
108108

109109
.. warning::
110-
``filib`` is licensed under `LGPL-2.1 <https://github.com/zfergus/filib/blob/main/LICENSE>`_ and as such it is required to be dynamically linked. Doing so automatically is a challenge, so by default we use static linkage. Enabling dynaic linkage requires copying the ``.so``/``.dylib``/``.dll`` file to the binary directory or system path. To enable this, set the CMake option ``FILIB_BUILD_SHARED_LIBS`` to ``ON`` and add this CMake code to copy the shared libaray object to the binary directory:
110+
``filib`` is licensed under `LGPL-2.1 <https://github.com/zfergus/filib/blob/main/LICENSE>`_ and as such it is required to be dynamically linked. Doing so automatically is a challenge, so by default we use static linkage. Enabling dynamic linkage requires copying the ``.so``/``.dylib``/``.dll`` file to the binary directory or system path. To enable this, set the CMake option ``FILIB_BUILD_SHARED_LIBS`` to ``ON`` and add this CMake code to copy the shared libaray object to the binary directory:
111111

112112
.. code-block:: cmake
113113

notebooks/generate_cpp_code.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ def __init__(self, expr, params, name, out_param_name="J"):
7474
class CXXHessianGenerator(CXXJacobianGenerator):
7575
def __init__(self, expr, params, name, out_param_name="hess"):
7676
super().__init__(expr.diff(Matrix(params)), params, name, out_param_name)
77+
self.comment = f"// {out_param_name} is ({params.size}×{params.size}) flattened in column-major order"
7778

7879

7980
def generate_hpp_file(code_generators, file_name, transformer=None):

0 commit comments

Comments
 (0)