Skip to content

Commit

Permalink
Merge branch 'bilingual-examples' of github.com:XanaduAI/jet into bil…
Browse files Browse the repository at this point in the history
…ingual-examples
  • Loading branch information
Mandrenkov committed Jul 5, 2021
2 parents 35e9318 + 5869cd4 commit 09a930a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/use/tensors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Here, we can showcase the various constructors offered by the ``Tensor`` class,

.. code-tab:: c++

// Create a tensor with single datum of ``complex<float>{0.0, 0.0}``.
// Create a tensor with single datum of complex<float>{0.0, 0.0}.
Tensor M0;

// Create a 3x2 tensor with automatically-labeled indices and zero-initialized data.
Expand All @@ -100,7 +100,7 @@ Here, we can showcase the various constructors offered by the ``Tensor`` class,

.. code-tab:: py

# Create a tensor with single datum of ``0j``.
# Create a tensor with single datum of 0j.
M0 = jet.Tensor()

# Create a 3x2 tensor with automatically-labeled indices and zero-initialized data.
Expand Down

0 comments on commit 09a930a

Please sign in to comment.