Skip to content

Commit d2ce97a

Browse files
committed
Editorial change: correcting project indication in code blocks
1 parent 3401746 commit d2ce97a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/courses/advanced-ada/parts/data_types/numerics.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@ example, writing :ada:`A * B` triggers a compilation error. (Otherwise, which
829829
precision should be used for the result?) Therefore, we have
830830
to convert one of the objects to have matching types:
831831

832-
.. code:: ada run_button project=Courses.Advanced_Ada.Data_Types.Types.Universal_Types.Float_Multiplication
832+
.. code:: ada run_button project=Courses.Advanced_Ada.Data_Types.Numerics.Universal_Types.Float_Multiplication
833833
:class: ada-expect-compile-error
834834

835835
with Ada.Text_IO; use Ada.Text_IO;
@@ -849,7 +849,7 @@ In contrast, for fixed-point types, we can mix objects of different types in a
849849
multiplication or division. (In this case, mixing is allowed for the
850850
convenience of the programmer.) For example:
851851

852-
.. code:: ada run_button project=Courses.Advanced_Ada.Data_Types.Types.Universal_Types.Fixed_Point_Multiplication
852+
.. code:: ada run_button project=Courses.Advanced_Ada.Data_Types.Numerics.Universal_Types.Fixed_Point_Multiplication
853853

854854
package Normalized_Fixed_Point_Types is
855855

@@ -889,7 +889,7 @@ In addition to the multiplication operation, other operations such as the
889889
conversion between fixed-point types and the division operations make use of
890890
universal fixed types:
891891

892-
.. code:: ada run_button project=Courses.Advanced_Ada.Data_Types.Types.Universal_Types.Universal_Fixed
892+
.. code:: ada run_button project=Courses.Advanced_Ada.Data_Types.Numerics.Universal_Types.Universal_Fixed
893893

894894
package Custom_Decimal_Types is
895895

@@ -970,7 +970,7 @@ are universal fixed types.
970970
fixed-point types. However, those operators do **not** override the
971971
corresponding operators for universal fixed-point types. For example:
972972

973-
.. code:: ada run_button project=Courses.Advanced_Ada.Data_Types.Types.Universal_Types.Fixed_Point_Custom_Multiplication
973+
.. code:: ada run_button project=Courses.Advanced_Ada.Data_Types.Numerics.Universal_Types.Fixed_Point_Custom_Multiplication
974974

975975
package Normalized_Fixed_Point_Types is
976976

0 commit comments

Comments
 (0)