Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SasView_*anistotropic.comp in McXtrace did not compile #1568

Open
willend opened this issue Feb 13, 2024 · 0 comments
Open

SasView_*anistotropic.comp in McXtrace did not compile #1568

willend opened this issue Feb 13, 2024 · 0 comments
Labels
mcxtrace-3.2 Known bugs in McXtrace-3.2 ready for release

Comments

@willend
Copy link
Contributor

willend commented Feb 13, 2024

As also mentioned on mcxtrace.org:

A bug has been found by one of our DTU users.
Instruments containing "anisotropic" SasView components will not compile out of the box, instead giving the compilation error

core_shell_cylinder:2944:43: error: expected ')'
  double l0, l1, k, l_full, l, dl, d_Phi, theta;
                                          ^

which indicates a doubly-defined 'theta' symbol in the generated component-codes.

The main version of the McXtrace generator has been corrected - same for the generated component stack. To use the fix, please either

TRACE
%{
  double l0, l1, k, l_full, l, dl, d_Phi, theta;

to instead read

TRACE
%{
  double l0, l1, k, l_full, l, dl, d_Phi;
@willend willend added ready for release mcxtrace-3.2 Known bugs in McXtrace-3.2 labels Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mcxtrace-3.2 Known bugs in McXtrace-3.2 ready for release
Projects
None yet
Development

No branches or pull requests

1 participant