Skip to content

Commit

Permalink
MAINT: whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
WarrenWeckesser committed Sep 29, 2024
1 parent a021121 commit 0d7081f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ginac_aux_functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ ex delay_vars(const ex& e, const ex& lag, const lst& vars)
// 1+ a+b*delay(x,tau)*sin(delay(y,tau)) - delay(x,2*delta)^2
//
ex delay_transform(const ex& f, const lst& vars) {
if (f.has( delay(wild(1),wild(2)) ) ) {
if (f.has(delay(wild(1), wild(2)))) {
exset dlist;
f.find( delay(wild(1),wild(2)) , dlist);
f.find(delay(wild(1), wild(2)), dlist);
ex g = f;
for (exset::const_iterator i = dlist.begin(); i != dlist.end(); ++i) {
g = g.subs( *i == delay_vars(i->op(0),i->op(1),vars) );
g = g.subs(*i == delay_vars(i->op(0), i->op(1),vars));
}
return g;
}
Expand Down

0 comments on commit 0d7081f

Please sign in to comment.