Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check style fixed #385

Merged
merged 1 commit into from
Apr 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,6 @@ public static HalfFloatArray concat(HalfFloatArray... arrays) {
* Extracts a slice of elements from a given {@linkHalfFloatArray}, creating a new {@linkHalfFloatArray} instance.
*
*
* @param array
* The {@linkHalfFloatArray} from which to extract the slice.
* @param offset
* The starting index from which to begin the slice, inclusive.
* @param length
Expand All @@ -302,7 +300,7 @@ public static HalfFloatArray concat(HalfFloatArray... arrays) {
* @throws IllegalArgumentException
* if the specified slice is out of the bounds of the original array.
*/
public HalfFloatArray slice( int offset, int length) {
public HalfFloatArray slice(int offset, int length) {
if (offset < 0 || length < 0 || offset + length > getSize()) {
throw new IllegalArgumentException("Slice out of bounds");
}
Expand Down