Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
XeniosP committed Jul 3, 2023
1 parent ddd47c9 commit 41224a1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/node/largeReslice.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,9 @@ class LargeReslicingModule extends BaseModule {
for (let i=0;i<=2;i++) {
this.resldimensions[i]=Math.round(this.resldimensions[i]/res);
if (this.resldimensions[i]<1)
this.resldimensions[i]=1;
this.resldimensions[i]=1;

if (this.resldimensions[i]>1)
this.reslspacing[i]=this.reslspacing[i]*res;
}

Expand Down

0 comments on commit 41224a1

Please sign in to comment.