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