Skip to content

Commit 326dd82

Browse files
committed
Fix issue with single-term recognition
1 parent 8a41782 commit 326dd82

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

core/Algorithm.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,9 @@ bool Algorithm::is_single_term(iterator it)
812812
return true;
813813
else if(*tr.parent(it)->name!="\\prod" && it->fl.parent_rel==str_node::parent_rel_t::p_none
814814
&& kernel.properties.get<Accent>(tr.parent(it))==0 ) {
815+
#ifdef DEBUG
815816
std::cerr << "Found single term in " << tr.parent(it) << std::endl;
817+
#endif
816818
return true;
817819
}
818820
}

web2/cadabra2/source/download.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,15 @@ <h2>Binary packages</h2>
101101
<div class="distronum"><a href="https://cadabra.science/packages/debian9">Debian Stretch 9</a></div>
102102
</div>
103103

104-
<div class="distrotype">
104+
<!-- <div class="distrotype">
105105
<img src="static/images/apple_logo.png"/>
106106
<div class="distronum">macOS</a></div>
107107
<div class="distrotxt">
108108
Cadabra is available via the Homebrew package manager; just type
109109
<code>brew install cadabra2</code>
110110
to take care of installation.
111111
</div>
112-
</div>
112+
</div> -->
113113

114114
<div class="distrotype">
115115
<img src="static/images/windows_logo.png"/>

0 commit comments

Comments
 (0)