Skip to content

Commit 816d438

Browse files
committed
make codefactor happier
1 parent 770daa2 commit 816d438

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1150,7 +1150,7 @@ elif [ "`uname`" == "Darwin" ]; then
11501150
cat makefiles/darwin_clapack.mk >> kaldi.mk
11511151
echo "Warning (CLAPACK): this part of the configure process is not properly tested and may not work."
11521152
echo "Successfully configured for Darwin with CLAPACK libs from $CLAPACKROOT"
1153-
elif [ "`uname -m`" == "arm64" ]; then
1153+
elif [ "$(uname -m)" == "arm64" ]; then
11541154
cat makefiles/darwin_arm64.mk >> kaldi.mk
11551155
else
11561156
cat makefiles/darwin.mk >> kaldi.mk

src/cudamatrix/cu-array.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ class CuArrayBase {
111111
T *data_; ///< GPU data pointer (if GPU not available,
112112
///< will point to CPU memory).
113113
MatrixIndexT dim_; ///< dimension of the vector
114-
115114
};
116115

117116
/**
@@ -123,7 +122,6 @@ class CuArrayBase {
123122
template<typename T>
124123
class CuArray: public CuArrayBase<T> {
125124
public:
126-
127125
/// Default constructor, initialized data_ to NULL and dim_ to 0 via
128126
/// constructor of CuArrayBase.
129127
CuArray() { }
@@ -172,7 +170,6 @@ class CuArray: public CuArrayBase<T> {
172170
/// I/O
173171
void Read(std::istream &is, bool binary);
174172
void Write(std::ostream &is, bool binary) const;
175-
176173
};
177174

178175

0 commit comments

Comments
 (0)