Skip to content

fix(julia_engine): Julia 1.12 support#1464

Merged
Nelson-numerical-software merged 1 commit intomasterfrom
julia-1.12.0-compatibility
Oct 15, 2025
Merged

fix(julia_engine): Julia 1.12 support#1464
Nelson-numerical-software merged 1 commit intomasterfrom
julia-1.12.0-compatibility

Conversation

@Nelson-numerical-software
Copy link
Collaborator

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for Julia 1.12 by updating the Julia engine module with improved variable passing and error handling mechanisms.

  • Replaces direct variable assignment with a new helper function for setting Julia global variables
  • Updates test cases to use the new jlrun function signature with inline Julia code execution
  • Improves error handling for Julia exceptions and variable conversion failures

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
modules/tests_manager/functions/test_run.m Adds fail status handling when output file is missing
modules/julia_engine/tests/test_variables_from_nelson.m Updates test cases to use new Julia code execution pattern
modules/julia_engine/tests/test_jlrun.m Adds basic tests for the updated jlrun function
modules/julia_engine/src/cpp/JuliaTypesImporters.hpp Declares new function for creating Julia global variables
modules/julia_engine/src/cpp/JuliaTypesImporters.cpp Implements the new global variable creation function
modules/julia_engine/src/cpp/JuliaRunFile.cpp Updates to use new variable creation method with improved error handling
modules/julia_engine/src/cpp/JuliaRun.cpp Updates to use new variable creation method and fixes variable naming conflicts
CHANGELOG.md Documents Julia 1.12.0 support

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Nelson-numerical-software Nelson-numerical-software merged commit d38ad98 into master Oct 15, 2025
23 checks passed
@Nelson-numerical-software Nelson-numerical-software deleted the julia-1.12.0-compatibility branch October 15, 2025 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants