Skip to content

Commit

Permalink
Fix changelog typo
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Saelices <[email protected]>
  • Loading branch information
msaelices committed Jan 30, 2025
1 parent c69acd8 commit 67ba5cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ what we publish.
### Standard library changes

- New `SIMD.from_bytes()` and `SIMD.as_bytes()` functions to convert a list of bytes
to an scalars and vice versa, accepting the endianess as an argument. Similar
to a list of scalars and vice versa, accepting the endianess as an argument. Similar
to Python `int.from_bytes()` and `int.to_bytes()` functions.

- The free floating functions for constructing different types have been
Expand Down
2 changes: 1 addition & 1 deletion stdlib/src/builtin/simd.mojo
Original file line number Diff line number Diff line change
Expand Up @@ -1961,7 +1961,7 @@ struct SIMD[type: DType, size: Int](

@staticmethod
fn from_bytes[
big_endian: Bool = False
big_endian: Bool = is_big_endian(),
](bytes: InlineArray[Byte, Self.type_len]) -> Scalar[type]:
"""Converts a byte array to an scalar integer.
Expand Down

0 comments on commit 67ba5cd

Please sign in to comment.