Skip to content

Commit

Permalink
make codefactor happier
Browse files Browse the repository at this point in the history
  • Loading branch information
jtrmal committed Jul 23, 2024
1 parent 770daa2 commit 816d438
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion src/configure
Original file line number Diff line number Diff line change
Expand Up @@ -1150,7 +1150,7 @@ elif [ "`uname`" == "Darwin" ]; then
cat makefiles/darwin_clapack.mk >> kaldi.mk
echo "Warning (CLAPACK): this part of the configure process is not properly tested and may not work."
echo "Successfully configured for Darwin with CLAPACK libs from $CLAPACKROOT"
elif [ "`uname -m`" == "arm64" ]; then
elif [ "$(uname -m)" == "arm64" ]; then
cat makefiles/darwin_arm64.mk >> kaldi.mk
else
cat makefiles/darwin.mk >> kaldi.mk
Expand Down
3 changes: 0 additions & 3 deletions src/cudamatrix/cu-array.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ class CuArrayBase {
T *data_; ///< GPU data pointer (if GPU not available,
///< will point to CPU memory).
MatrixIndexT dim_; ///< dimension of the vector

};

/**
Expand All @@ -123,7 +122,6 @@ class CuArrayBase {
template<typename T>
class CuArray: public CuArrayBase<T> {
public:

/// Default constructor, initialized data_ to NULL and dim_ to 0 via
/// constructor of CuArrayBase.
CuArray() { }
Expand Down Expand Up @@ -172,7 +170,6 @@ class CuArray: public CuArrayBase<T> {
/// I/O
void Read(std::istream &is, bool binary);
void Write(std::ostream &is, bool binary) const;

};


Expand Down

0 comments on commit 816d438

Please sign in to comment.