Fix buildMatrix Bug
This commit is contained in:
@@ -315,10 +315,10 @@ namespace Recon
|
|||||||
i.setBlockValue(1, coeffIndex, cnt-1, rayCount-1);
|
i.setBlockValue(1, coeffIndex, cnt-1, rayCount-1);
|
||||||
j.setBlock(1,coeffIndex,cnt-1,linearIndices);
|
j.setBlock(1,coeffIndex,cnt-1,linearIndices);
|
||||||
if (weighting.isScalar()){
|
if (weighting.isScalar()){
|
||||||
s.setBlockValue(1, coeffIndex, cnt,weighting.getScalar());
|
s.setBlockValue(1, coeffIndex, cnt-1,weighting.getScalar());
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
s.setBlock(1, coeffIndex, cnt, weighting);
|
s.setBlock(1, coeffIndex, cnt-1, weighting);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
|||||||
Reference in New Issue
Block a user