diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-03 20:38:41 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-03 20:38:41 +0100 |
commit | ba627dd9ecb578e9852c7b9cce67ec63199d1acf (patch) | |
tree | 27c4258311ca8c8ed7ff67a8a0bc7280e8fcae79 /target/ofps.c | |
parent | 69aec3b712232e93600ecd741269fed1f90b412a (diff) | |
parent | 3abb40d43649adb3807180692d8579c405524675 (diff) |
Merge branch 'release/2.0.0+repack-1'2.0.0+repack-1
Diffstat (limited to 'target/ofps.c')
-rwxr-xr-x[-rw-r--r--] | target/ofps.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/ofps.c b/target/ofps.c index 5c2219c..54a0ea1 100644..100755 --- a/target/ofps.c +++ b/target/ofps.c @@ -108,7 +108,7 @@ which would probably be regarded as important. To measure spread, independent voronoi tessellations of - these sub dimensions would be neededi, and they could be + these sub dimensions would be needed, and they could be used partly driver optimization (??). For 1D device channels this wouldn't be so hard to @@ -1718,8 +1718,8 @@ static unsigned int comp_cmask(ofps *s, int *nix) { /* the resulting location to be the same of within this. */ for (e = 0; e <= di; e++) { int ix = nix[e]; - if (ix < 0 && ix >= -s->nbp) { /* If fake surface node */ - smask |= 1 << -ix-1; + if (ix < 0 && ix >= (-s->nbp)) { /* If fake surface node */ + smask |= 1 << (-ix-1); } else if (ix >= 0) { /* If real node */ cmask &= s->n[ix]->pmask; } @@ -1752,7 +1752,7 @@ static void det_vtx_gsurf(ofps *s, vtx *vx) { for (e = 0; e <= di; e++) { int ix = vx->nix[e]; if (ix < 0 && ix >= -s->nbp) { /* If fake surface node */ - smask |= 1 << -ix-1; + smask |= 1 << (-ix-1); } else if (ix >= 0) { vx->cmask &= s->n[ix]->pmask; } |