Mentions légales du service

Skip to content
Snippets Groups Projects
Commit c69eb410 authored by hhakim's avatar hhakim
Browse files

Remove the memory address of Matrix output (as it was before).

The reason is the need of reproducibility in examples. It should be
replaced by a function which gets the address of a particular factor in
a Faust.
parent 1a1e1ef0
No related branches found
No related tags found
No related merge requests found
......@@ -132,7 +132,7 @@ Faust::MatGeneric<FPP,DEVICE>::~MatGeneric()
template<typename FPP,FDevice DEVICE>
void Faust::MatGeneric<FPP,DEVICE>::Display() const
{
std::cout << to_string();
std::cout << to_string() << std::endl;
}
template<typename FPP,FDevice DEVICE>
......@@ -210,8 +210,8 @@ std::string Faust::MatGeneric<FPP,DEVICE>::to_string(int32_t nrows, int32_t ncol
str << ", density "<< density <<", nnz "<< nnz;
if(type == BSR)
str << " (nnz blocks: " << dynamic_cast<const MatBSR<FPP, Cpu>*>(this)->getNBlocks() << ")";
str << ", addr: " << this;
str <<std::endl;
// str << ", addr: " << this;
str << std::endl;
if (is_identity)
str <<" identity matrix flag" << std::endl;
return str.str();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment