Skip to content

Conversation

@mtfishman
Copy link
Member

Looks like I missed a bunch of files in #1673...

@github-actions
Copy link
Contributor

Your PR requires formatting changes to meet the project's style guidelines.
Please consider running Runic (git runic main) to apply these changes.

Click here to view the suggested changes.
diff --git a/NDTensors/src/combiner/combiner.jl b/NDTensors/src/combiner/combiner.jl
index 080c59892..86c5777ef 100644
--- a/NDTensors/src/combiner/combiner.jl
+++ b/NDTensors/src/combiner/combiner.jl
@@ -132,30 +132,30 @@ function invalid_combiner_contraction_error(
     )
     return error(
         """
-        Trying to contract a tensor with indices:
+                Trying to contract a tensor with indices:
 
-        $(inds(tensor))
+                $(inds(tensor))
 
-        and labels:
+                and labels:
 
-        $(tensor_labels)
+                $(tensor_labels)
 
-        with a combiner tensor with indices:
+                with a combiner tensor with indices:
 
-        $(inds(combiner_tensor))
+                $(inds(combiner_tensor))
 
-        and labels:
+                and labels:
 
-        $(combiner_tensor_labels).
+                $(combiner_tensor_labels).
 
-        This is not a valid combiner contraction.
+                This is not a valid combiner contraction.
 
-        If you are combining, the combined index of the combiner should be the only one uncontracted.
+                If you are combining, the combined index of the combiner should be the only one uncontracted.
 
-        If you are uncombining, the combined index of the combiner should be the only one contracted.
+                If you are uncombining, the combined index of the combiner should be the only one contracted.
 
-        By convention, the combined index should be the index in position $(combinedind_position(combiner_tensor)) of the combiner tensor.
-        """,
+                By convention, the combined index should be the index in position $(combinedind_position(combiner_tensor)) of the combiner tensor.
+                """,
     )
 end
 
diff --git a/src/indexset.jl b/src/indexset.jl
index 2db01c4af..ee999594d 100644
--- a/src/indexset.jl
+++ b/src/indexset.jl
@@ -574,28 +574,28 @@ hassameflux(i1::Index, i2::Index) = (dim(i1) == dim(i2))
 function replaceinds_space_error(is, inds1, inds2, i1, i2)
     return error(
         """
-        Attempting to replace the Indices
+                Attempting to replace the Indices
 
-        $(inds1)
+                $(inds1)
 
-        with
+                with
 
-        $(inds2)
+                $(inds2)
 
-        in the Index collection
+                in the Index collection
 
-        $(is).
+                $(is).
 
-        However, the Index
+                However, the Index
 
-        $(i1)
+                $(i1)
 
-        has a different space from the Index
+                has a different space from the Index
 
-        $(i2).
+                $(i2).
 
-        They must have the same spaces to be replaced.
-        """
+                They must have the same spaces to be replaced.
+                """
     )
 end
 
diff --git a/src/packagecompile/compile.jl b/src/packagecompile/compile.jl
index 19d735456..3f96e65c1 100644
--- a/src/packagecompile/compile.jl
+++ b/src/packagecompile/compile.jl
@@ -7,33 +7,33 @@ default_compile_path() = joinpath(default_compile_dir(), default_compile_filenam
 function compile_note(; dir = default_compile_dir(), filename = default_compile_filename())
     path = joinpath(dir, filename)
     return """
-    You will be able to start Julia with a compiled version of ITensors using:
+        You will be able to start Julia with a compiled version of ITensors using:
 
-    ```
-    ~ julia --sysimage $path
-    ```
+        ```
+        ~ julia --sysimage $path
+        ```
 
-    and you should see that the startup times and JIT compilation times are substantially improved when you are using ITensors.
+        and you should see that the startup times and JIT compilation times are substantially improved when you are using ITensors.
 
-    In unix, you can create an alias with the Bash command:
+        In unix, you can create an alias with the Bash command:
 
-    ```
-    ~ alias julia_itensors="julia --sysimage $path -e 'using ITensors' -i"
-    ```
+        ```
+        ~ alias julia_itensors="julia --sysimage $path -e 'using ITensors' -i"
+        ```
 
-    which you can put in your `~/.bashrc`, `~/.zshrc`, etc. This also executes
-    `using ITensors` so that ITensors is loaded and ready to use, you can leave off `
-    -e 'using ITensors' -i` if you don't want that. Then you can start Julia with a
-    version of ITensors installed with the command:
+        which you can put in your `~/.bashrc`, `~/.zshrc`, etc. This also executes
+        `using ITensors` so that ITensors is loaded and ready to use, you can leave off `
+        -e 'using ITensors' -i` if you don't want that. Then you can start Julia with a
+        version of ITensors installed with the command:
 
-    ```
-    ~ julia_itensors
-    ```
+        ```
+        ~ julia_itensors
+        ```
 
-    Note that if you update ITensors to a new version, for example with `using
-    Pkg; Pkg.update("ITensors")`, you will need to run the `ITensors.compile()`
-    command again to recompile the new version of ITensors.
-    """
+        Note that if you update ITensors to a new version, for example with `using
+        Pkg; Pkg.update("ITensors")`, you will need to run the `ITensors.compile()`
+        command again to recompile the new version of ITensors.
+        """
 end
 
 function compile(; backend = Algorithm"PackageCompiler"(), kwargs...)

@mtfishman mtfishman merged commit 59058d3 into main Oct 11, 2025
11 of 14 checks passed
@mtfishman mtfishman deleted the mf/runic-more branch October 11, 2025 00:25
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