Skip to content

Commit

Permalink
Tidying up, in preparation for beta release.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajpgarner committed Jun 12, 2024
1 parent 0c5e6eb commit 4b0e75b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 32 deletions.
5 changes: 1 addition & 4 deletions matlab/classes/@MTKScenario/OpToString.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,10 @@

% Validate
if nargin < 2 || isempty(sequence)
str = "I";
return
end
sequence = reshape(uint64(sequence), 1, []);

strs = obj.OperatorStrings


str_array = obj.Rulebook.ToStringArray(sequence);
val = join(str_array, " ");
end
2 changes: 1 addition & 1 deletion matlab/classes/@MTKScenario/ToStringArray.m
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
extended_names = obj.OperatorNames;

% Do nothing if out of range
if any(input <= 0) || any(input > length(extended_names))
if any(input <= 0) || any(input > numel(extended_names))
str = input;
return;
end
Expand Down
22 changes: 0 additions & 22 deletions matlab/examples/automatic_bff.m

This file was deleted.

4 changes: 2 additions & 2 deletions matlab/tests/mex/debug/VersionTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
%VERSIONTEST Unit tests for version function

properties(Constant)
expected_string = '0.3.0';
expected_string = '0.9.0';
expected_struct = struct('major', int64(0), ...
'minor', int64(3), ...
'minor', int64(9), ...
'patch', int64(0));
end

Expand Down
5 changes: 2 additions & 3 deletions moment.prj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<deployment-project plugin="plugin.toolbox" plugin-version="1.0">
<configuration file="C:\Users\ajpga\Documents\moment\moment.prj" location="." name="moment" target="target.toolbox" target-name="Package Toolbox">
<configuration file=".\moment.prj" location="." name="moment" target="target.toolbox" target-name="Package Toolbox">
<param.appname>Moment</param.appname>
<param.authnamewatermark>Andrew J. P. Garner</param.authnamewatermark>
<param.email>[email protected]</param.email>
Expand All @@ -15,8 +15,7 @@
<param.platforms />
<param.guid>a6dd8a4a-eda4-4f58-ba52-e9f314e67f42</param.guid>
<param.exclude.filters>temp*
photonic*
install.m</param.exclude.filters>
mtk_install.m</param.exclude.filters>
<param.exclude.pcodedmfiles>true</param.exclude.pcodedmfiles>
<param.examples />
<param.demosxml />
Expand Down

0 comments on commit 4b0e75b

Please sign in to comment.