Skip to content

Commit

Permalink
Fix copy-paste error: id xyz should default to 0
Browse files Browse the repository at this point in the history
In order to produce the correct result from the linearization equation, id
components should default to 0 while range components should default to 1.
  • Loading branch information
Pennycook committed Dec 10, 2024
1 parent 6ab9b60 commit d642a37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adoc/chapters/programming_interface.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -12360,15 +12360,15 @@ a@
size_t y() const noexcept;
----
a@ Return the value of dimension [code]#Dimensions - 2# of the [code]#id#
object, or 1 if [code]#Dimensions < 2#.
object, or 0 if [code]#Dimensions < 2#.

a@
[source]
----
size_t z() const noexcept;
----
a@ Return the value of dimension [code]#Dimensions - 3# of the [code]#id#
object, or 1 if [code]#Dimensions < 3#.
object, or 0 if [code]#Dimensions < 3#.

a@
[source]
Expand Down

0 comments on commit d642a37

Please sign in to comment.