Skip to content

Commit 3881731

Browse files
committed
Fix EditorConfig errors
1 parent d262c79 commit 3881731

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

ggml/include/ggml.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1148,7 +1148,7 @@ extern "C" {
11481148
GGML_API struct ggml_tensor * ggml_exp_inplace(
11491149
struct ggml_context * ctx,
11501150
struct ggml_tensor * a);
1151-
1151+
11521152
GGML_API struct ggml_tensor * ggml_ceil(
11531153
struct ggml_context * ctx,
11541154
struct ggml_tensor * a);

ggml/src/ggml-cpu/unary-ops.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ static inline float op_log(float x) {
6565
}
6666

6767
static inline float op_ceil(float x) {
68-
return ceilf(x);
69-
}
68+
return ceilf(x);
69+
}
7070

7171
template <float (*op)(float), typename src0_t, typename dst_t>
7272
static inline void vec_unary_op(int64_t n, dst_t * y, const src0_t * x) {

tests/test-backend-ops.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3555,7 +3555,7 @@ struct test_ceil : public test_case {
35553555
}
35563556

35573557
float grad_eps() override {
3558-
return 1.0f;
3558+
return 1.0f;
35593559
}
35603560

35613561
bool grad_precise() override {

vendor/miniaudio/miniaudio.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28227,7 +28227,7 @@ static ma_result ma_device_start__alsa(ma_device* pDevice)
2822728227
}
2822828228

2822928229
if (pDevice->type == ma_device_type_playback || pDevice->type == ma_device_type_duplex) {
28230-
/*
28230+
/*
2823128231
When data is written to the device we wait for the device to get ready to receive data with poll(). In my testing
2823228232
I have observed that poll() can sometimes block forever unless the device is started explicitly with snd_pcm_start()
2823328233
or some data is written with snd_pcm_writei().
@@ -34520,7 +34520,7 @@ static ma_result ma_device_init_internal__coreaudio(ma_context* pContext, ma_dev
3452034520
#endif
3452134521
}
3452234522

34523-
34523+
3452434524
status = ((ma_AudioUnitSetProperty_proc)pContext->coreaudio.AudioUnitSetProperty)(pData->audioUnit, kAudioUnitProperty_StreamFormat, formatScope, formatElement, &bestFormat, sizeof(bestFormat));
3452534525
if (status != noErr) {
3452634526
((ma_AudioComponentInstanceDispose_proc)pContext->coreaudio.AudioComponentInstanceDispose)(pData->audioUnit);
@@ -38526,7 +38526,7 @@ static ma_result ma_device_reinit__aaudio(ma_device* pDevice, ma_device_type dev
3852638526
ma_device_stop(pDevice); /* Do a full device stop so we set internal state correctly. */
3852738527
}
3852838528
}
38529-
38529+
3853038530
result = MA_SUCCESS;
3853138531
}
3853238532
done:

0 commit comments

Comments
 (0)