Skip to content

Commit

Permalink
Remove duplicate definitions in intervalMissing.cpp and add missing i…
Browse files Browse the repository at this point in the history
…nclude.
  • Loading branch information
sletz committed Apr 9, 2024
1 parent 0e040ff commit e5527fc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions compiler/interval/intervalMissing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ interval interval_algebra::Output(const interval& c, const interval& y)
{
return interval(0);
}
/*
interval interval_algebra::Button(const interval& name)
{
return interval(0);
Expand All @@ -31,7 +32,7 @@ interval interval_algebra::Checkbox(const interval& name)
{
return interval(0);
}

*/
interval interval_algebra::HBargraph(const interval& name, const interval& lo, const interval& hi)
{
return interval(0);
Expand Down Expand Up @@ -97,7 +98,7 @@ interval interval_algebra::Waveform(const std::vector<interval>& w)
{
return interval(0);
}

/*
interval interval_algebra::VSlider(const interval& name, const interval& init, const interval& lo, const interval& hi,
const interval& step)
{
Expand Down Expand Up @@ -130,7 +131,7 @@ interval interval_algebra::Label(const std::string& x)
{
return interval(0);
}

*/
// Foreign functions
interval interval_algebra::ForeignFunction(const std::vector<interval>& ff)
{
Expand All @@ -145,4 +146,4 @@ interval interval_algebra::ForeignConst(const interval& type, const interval& na
return interval(0);
}

} // namespace itv
} // namespace itv
2 changes: 1 addition & 1 deletion tests/impulse-tests/Make.cmajor
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ else
endif
MAKE ?= make

GCCOPTIONS := -Ofast -I../../architecture -Iarchs -pthread -std=c++17
GCCOPTIONS := -Ofast -I../../architecture -I/usr/local/include/ap_fixed -Iarchs -pthread -std=c++17
outdir ?= cmajor/double
lang ?= cpp
ext ?= o
Expand Down

0 comments on commit e5527fc

Please sign in to comment.