Skip to content

Commit

Permalink
Revert "[src] Fix infinite recursion with -DDOUBLE_PRECISION=1. Thx: @…
Browse files Browse the repository at this point in the history
…hwiorn (#2875) (#2876)" (#2877)

This reverts commit 84435ff.
  • Loading branch information
danpovey authored Nov 27, 2018
1 parent 84435ff commit b196b7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nnet3/nnet-parse.cc
Original file line number Diff line number Diff line change
Expand Up @@ -518,12 +518,12 @@ std::string SummarizeVector(const VectorBase<float> &vec) {
}

std::string SummarizeVector(const VectorBase<double> &vec) {
Vector<float> vec_copy(vec);
Vector<BaseFloat> vec_copy(vec);
return SummarizeVector(vec_copy);
}

std::string SummarizeVector(const CuVectorBase<BaseFloat> &cu_vec) {
Vector<float> vec(cu_vec);
Vector<BaseFloat> vec(cu_vec);
return SummarizeVector(vec);
}

Expand Down

0 comments on commit b196b7f

Please sign in to comment.