Commit 372fa676 authored by Max Lyon's avatar Max Lyon
Browse files

fix some warnings

parent 7bebafa6
......@@ -81,7 +81,7 @@ typedef enum {
/// Maps an ::ORIENTATION to a string. Useful for debugging output.
inline const char *Orientation2Str(ORIENTATION value) {
static const char *(strs[]) = {
static const char *strs[] = {
"ORI_NEGATIVE", "ORI_ZERO", "ORI_POSITIVE"
};
......
......@@ -148,7 +148,7 @@ void HexExtractor::extractHVertices()
for (auto fh : inputMesh.faces())
incidentVerticesPerFace[fh].clear();
for (auto ch : inputMesh.cells())
incidentVerticesPerFace[ch].clear();
incidentVerticesPerCell[ch].clear();
HEXEX_DEBUG_ONLY(std::cout << "Extracting vertices on vertices" << std::endl;)
......@@ -4472,7 +4472,7 @@ bool HexExtractor::isCellDegenerate(CellHandle ch)
++isCellDegenerateCalls;
return cellTypes[ch.idx()] == Degenerate;
return cellTypes[ch] == Degenerate;
}
bool HexExtractor::isCellFlipped(CellHandle ch)
......@@ -4483,7 +4483,7 @@ bool HexExtractor::isCellFlipped(CellHandle ch)
++isCellFlippedCalls;
return cellTypes[ch.idx()] == Flipped;
return cellTypes[ch] == Flipped;
}
bool HexExtractor::isFaceDegenerate(HalfFaceHandle hfh)
......
......@@ -2599,6 +2599,13 @@ REAL permanent;
INEXACT REAL _i, _j;
REAL _0;
axtbclen = 0;
aytbclen = 0;
bxtcalen = 0;
bytcalen = 0;
cxtablen = 0;
cytablen = 0;
adx = (REAL) (pa[0] - pd[0]);
bdx = (REAL) (pb[0] - pd[0]);
cdx = (REAL) (pc[0] - pd[0]);
......
#pragma once
#include <gtest/gtest.h>
#include "common.hh"
#include <HexExtractor.hh>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment