Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
AJPfleger committed Oct 17, 2024
1 parent f354ce2 commit c6346c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/core/definitions/algebra.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ Algebra definitions
===================

The main algebra classes for ACTS are defined in the `Acts/Definitions/Algebra.hpp` header file.
The basic scalar type can be defined via this file and is set per default to `double`, however, if `ACTS_CUSTOM_SCALAR` is set it will be used instead.
The basic scalar type can be defined via this file and is set per default to `double`, however, if `ACTS_CUSTOM_SCALARTYPE` is set it will be used instead.

.. code-block:: cpp
#ifdef ACTS_CUSTOM_SCALAR
using ActsScalar = ACTS_CUSTOM_SCALAR;
#ifdef ACTS_CUSTOM_SCALARTYPE
using ActsScalar = ACTS_CUSTOM_SCALARTYPE;
#else
using ActsScalar = double;
#endif
Expand Down

0 comments on commit c6346c3

Please sign in to comment.