You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to get BIDMach running with an IMat input and not using a GPU, I got a MatchError from the copyMats function in Model.scala line 254.
I changed the code to:
if (useDouble) {
to(i) = from(i) match {
case aa:FMat => DMat(aa)
case aa:SMat => SDMat(aa)
case aa:DMat => aa;
case aa:SDMat => aa;
case aa:IMat => aa;
}
} else {
to(i) = from(i) match {
case aa:FMat => aa
case aa:SMat => aa
case aa:DMat => FMat(aa);
case aa:SDMat => SMat(aa);
case aa:IMat => aa;
}
}
which seemed to fix the issue.
The text was updated successfully, but these errors were encountered:
Hi,
While trying to get BIDMach running with an IMat input and not using a GPU, I got a MatchError from the copyMats function in Model.scala line 254.
I changed the code to:
which seemed to fix the issue.
The text was updated successfully, but these errors were encountered: