Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeweigt committed Nov 10, 2024
1 parent 1931442 commit cd2e845
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions eigenmath.c
Original file line number Diff line number Diff line change
Expand Up @@ -12258,7 +12258,7 @@ rotate_q(struct atom *PSI, int n)
power();
push(imaginaryunit);
push_symbol(PI);
evalf();
evalf(); // in case PI is numerical
multiply_factors(3);
expfunc();
PHASE = pop();
Expand All @@ -12285,7 +12285,7 @@ rotate_v(struct atom *PSI, int n)
power();
push(imaginaryunit);
push_symbol(PI);
evalf();
evalf(); // in case PI is numerical
multiply_factors(3);
negate();
expfunc();
Expand Down
4 changes: 2 additions & 2 deletions js/eigenmath.js
Original file line number Diff line number Diff line change
Expand Up @@ -11243,7 +11243,7 @@ rotate_q(PSI, n)
power();
push(imaginaryunit);
push_symbol(PI);
evalf();
evalf(); // in case PI is numerical
multiply_factors(3);
expfunc();
PHASE = pop();
Expand All @@ -11269,7 +11269,7 @@ rotate_v(PSI, n)
power();
push(imaginaryunit);
push_symbol(PI);
evalf();
evalf(); // in case PI is numerical
multiply_factors(3);
negate();
expfunc();
Expand Down
4 changes: 2 additions & 2 deletions js/src/eval_rotate.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ rotate_q(PSI, n)
power();
push(imaginaryunit);
push_symbol(PI);
evalf();
evalf(); // in case PI is numerical
multiply_factors(3);
expfunc();
PHASE = pop();
Expand All @@ -269,7 +269,7 @@ rotate_v(PSI, n)
power();
push(imaginaryunit);
push_symbol(PI);
evalf();
evalf(); // in case PI is numerical
multiply_factors(3);
negate();
expfunc();
Expand Down
4 changes: 2 additions & 2 deletions src/eval_rotate.c
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ rotate_q(struct atom *PSI, int n)
power();
push(imaginaryunit);
push_symbol(PI);
evalf();
evalf(); // in case PI is numerical
multiply_factors(3);
expfunc();
PHASE = pop();
Expand All @@ -279,7 +279,7 @@ rotate_v(struct atom *PSI, int n)
power();
push(imaginaryunit);
push_symbol(PI);
evalf();
evalf(); // in case PI is numerical
multiply_factors(3);
negate();
expfunc();
Expand Down
4 changes: 2 additions & 2 deletions xcode/src/eigenmath.c
Original file line number Diff line number Diff line change
Expand Up @@ -12258,7 +12258,7 @@ rotate_q(struct atom *PSI, int n)
power();
push(imaginaryunit);
push_symbol(PI);
evalf();
evalf(); // in case PI is numerical
multiply_factors(3);
expfunc();
PHASE = pop();
Expand All @@ -12285,7 +12285,7 @@ rotate_v(struct atom *PSI, int n)
power();
push(imaginaryunit);
push_symbol(PI);
evalf();
evalf(); // in case PI is numerical
multiply_factors(3);
negate();
expfunc();
Expand Down

0 comments on commit cd2e845

Please sign in to comment.